linux_dsm_epyc7002/block
Oleg Nesterov 9f83e45eb5 [PATCH] Fix current_io_context() vs set_task_ioprio() race
I know nothing about io scheduler, but I suspect set_task_ioprio() is not safe.

current_io_context() initializes "struct io_context", then sets ->io_context.
set_task_ioprio() running on another cpu may see the changes out of order, so
->set_ioprio(ioc) may use io_context which was not initialized properly.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <axboe@suse.de>
2006-08-21 08:34:15 +02:00
..
as-iosched.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
blktrace.c [PATCH] blktrace: fix read-ahead bit 2006-07-25 15:04:13 +02:00
cfq-iosched.c [PATCH] cfq-iosched: don't use a hard jiffies value, translate from msecs 2006-07-25 15:05:21 +02:00
deadline-iosched.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
elevator.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
genhd.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02: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] Fix current_io_context() vs set_task_ioprio() race 2006-08-21 08:34:15 +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] elevator switching race 2006-06-08 15:14:23 -07:00
scsi_ioctl.c [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations 2006-04-13 10:13:15 -05:00