linux/block
Oleg Nesterov 25034d7a83 [PATCH] exit_io_context: don't disable irqs
We don't need to disable irqs to clear current->io_context, it is protected
by ->alloc_lock. Even IF it was possible to submit I/O from IRQ on behalf of
current this irq_disable() can't help: current_io_context() will re-instantiate
->io_context after irq_enable().

We don't need task_lock() or local_irq_disable() to clear ioc->task. This can't
prevent other CPUs from playing with our io_context anyway.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2006-09-30 20:31:18 +02:00
..
as-iosched.c [PATCH] Add blk_start_queueing() helper 2006-09-30 20:29:40 +02:00
blktrace.c [PATCH] blktrace: support for logging metadata reads 2006-09-30 20:29:43 +02:00
cfq-iosched.c [PATCH] cfq-iosched: use metadata read flag 2006-09-30 20:29:43 +02:00
deadline-iosched.c [PATCH] deadline-iosched: remove elevator private drq request type 2006-09-30 20:27:00 +02:00
elevator.c [PATCH] Make sure all block/io scheduler setups are node aware 2006-09-30 20:29:39 +02:00
genhd.c [PATCH] block: handle subsystem_register() init errors 2006-09-29 09:18:05 -07:00
ioctl.c [PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl 2006-07-14 21:53:53 -07:00
Kconfig [PATCH] config: fix CONFIG_LFS option 2006-03-31 12:18:55 -08:00
Kconfig.iosched [PATCH] Make CFQ the default IO scheduler 2006-06-23 17:10:39 +02:00
ll_rw_blk.c [PATCH] exit_io_context: don't disable irqs 2006-09-30 20:31:18 +02:00
Makefile [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
noop-iosched.c [PATCH] Make sure all block/io scheduler setups are node aware 2006-09-30 20:29:39 +02:00
scsi_ioctl.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00