Revision 0261d6886eb5822867a5310dc1e4479b940a1942 authored by Jens Axboe on 30 October 2006, 18:07:48 UTC, committed by Linus Torvalds on 30 October 2006, 18:21:58 UTC
If cfq_set_request() is called for a new process AND a non-fs io
request (so that __GFP_WAIT may not be set), cfq_cic_link() may
use spin_lock_irq() and spin_unlock_irq() with interrupts already
disabled.

Fix is to always use irq safe locking in cfq_cic_link()

Acked-By: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 209ad53
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 20.1 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 23.7 KB
util.c -rw-r--r-- 18.9 KB
util.h -rw-r--r-- 3.1 KB

back to top