android_kernel_xiaomi_sm7250/drivers/block
Christoph Hellwig 83521d3eb8 [PATCH] cfq-iosched: move tasklist walk to elevator.c
We're trying to get rid of as much as possible tasklist walks, or at
least moving them to core code.  This patch falls into the second
category.

Instead of walking the tasklist in cfq-iosched move that into
elv_unregister.  The added benefit is that with this change the as
ioscheduler might be might unloadable more easily aswell.

The new code uses read_lock instead of read_lock_irq because the
tasklist_lock only needs irq disabling for writers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:17 -08:00
..
aoe [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
paride [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
acsi_slm.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
acsi.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
amiflop.c
as-iosched.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
ataflop.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
cciss_cmd.h [PATCH] cciss: direct lookup for command completions 2005-09-13 08:22:30 -07:00
cciss_scsi.c [PATCH] cciss: SCSI tape info for /proc 2005-09-13 08:22:30 -07:00
cciss_scsi.h
cciss.c [PATCH] cciss: busy_initializing bug fix 2005-09-21 10:11:54 -07:00
cciss.h [PATCH] cciss: direct lookup for command completions 2005-09-13 08:22:30 -07:00
cfq-iosched.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
deadline-iosched.c Merge branch 'generic-dispatch' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-10-28 08:53:49 -07:00
elevator.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
floppy.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
genhd.c [PATCH] add sysfs attr to re-emit device hotplug event 2005-10-28 09:52:51 -07:00
ida_cmd.h
ida_ioctl.h
ioctl.c
Kconfig [PATCH] Kconfig fix (BLK_DEV_FD dependencies) 2005-09-07 17:17:12 -07:00
Kconfig.iosched
ll_rw_blk.c Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-10-28 08:56:34 -07:00
loop.c [PATCH] gfp_t: remaining bits of drivers/* 2005-10-28 08:16:51 -07:00
Makefile
nbd.c
noop-iosched.c [PATCH] 04/05 remove last_merge handling from ioscheds 2005-10-28 08:45:35 +02:00
pktcdvd.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ps2esdi.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
rd.c [PATCH] gfp_t: remaining bits of drivers/* 2005-10-28 08:16:51 -07:00
scsi_ioctl.c [PATCH] scsi_ioctl: only warn for rejected commands 2005-10-08 15:00:57 -07:00
smart1,2.h
swim3.c [PATCH] drivers/block: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
swim_iop.c [PATCH] drivers/block: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
sx8.c drivers/block/sx8: kill unused variable 2005-10-22 01:33:18 -04:00
ub.c [PATCH] ub: suppress gcc warnings for pointer casts 2005-10-28 16:47:38 -07:00
umem.c [PATCH] janitor: block/umem: replace PRINTK with pr_debug 2005-09-10 10:06:33 -07:00
viodasd.c
xd.c [PATCH] drivers/block: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
xd.h
z2ram.c [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00