summaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2006-04-18 19:18:31 +0200
committerJens Axboe <axboe@suse.de>2006-04-18 19:18:31 +0200
commitbe3b075354e170368a0d29558cae492205e80a64 (patch)
treeb37af91addb8d214b9010774f5cf31538a501267 /arch/x86_64
parentdbecf3ab40b5a6cc4499543778cd9f9682c0abad (diff)
downloadop-kernel-dev-be3b075354e170368a0d29558cae492205e80a64.zip
op-kernel-dev-be3b075354e170368a0d29558cae492205e80a64.tar.gz
[PATCH] cfq: Further rbtree traversal and cfq_exit_queue() race fix
In current code, we are re-reading cic->key after dead cic->key check. So, in theory, it may really re-read *after* cfq_exit_queue() seted NULL. To avoid race, we copy it to stack, then use it. With this change, I guess gcc will assign cic->key to a register or stack, and it wouldn't be re-readed. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'arch/x86_64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud