summaryrefslogtreecommitdiffstats
path: root/crypto/zlib.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-10-07 10:50:23 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-09 22:52:09 +0200
commit638325154572ba2113a18669fe3b299caa2dabd9 (patch)
treec562a8460be432facbbba11288edaceba5ecbf1c /crypto/zlib.c
parentUSB: serial: fix race between unthrottle and completion handler in symbolserial (diff)
downloadlinux-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