diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-10-07 10:50:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-09 22:52:09 +0200 |
commit | 638325154572ba2113a18669fe3b299caa2dabd9 (patch) | |
tree | c562a8460be432facbbba11288edaceba5ecbf1c /crypto/zlib.c | |
parent | USB: serial: fix race between unthrottle and completion handler in symbolserial (diff) | |
download | linux-638325154572ba2113a18669fe3b299caa2dabd9.tar.xz linux-638325154572ba2113a18669fe3b299caa2dabd9.zip |
USB: serial: fix assumption that throttle/unthrottle cannot sleep
many serial subdrivers are clearly written as if throttle/unthrottle
cannot sleep. This leads to unneeded atomic submissions. This
patch converts affected drivers in a way to makes very clear that
throttle/unthrottle can sleep. Thus future misdesigns can be avoided
and efficiency and reliability improved.
This removes any such assumption using GFP_KERNEL and spin_lock_irq()
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/zlib.c')
0 files changed, 0 insertions, 0 deletions