summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGanesh Varadarajan <ganesh@tuxtop.vxindia.veritas.com>2002-03-16 18:31:22 -0800
committerVojtech Pavlik <vojtech@suse.cz>2002-03-16 18:31:22 -0800
commitc3cdeb682c838761f04ed5c3046e3368a6298386 (patch)
treeb70bb3f0211dfcb9441b3864f549cf691fbae856 /include/linux
parent869de8b7fd95ddce7a354cda4f0deddcb1e29e68 (diff)
USB serial drivers
Several functions in the serial drivers can be called from bottom half or interrupt context. They must use the GFP_ATOMIC flag for calls to kmalloc() and usb_submit_urb(). Functions which must use GFP_ATOMIC: 1. All *_callback() functions. 2. Any code which is inside a spinlock. 3. write(), throttle(), unthrottle(), which may be called by the line discipline in bottom half context. Functions which can use GFP_KERNEL: 1. open(), close(), startup(), shutdown(), set_termios().
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions