]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cfq-iosched: fix bug in timer handling for the idle class
authorJens Axboe <axboe@suse.de>
Thu, 1 Jun 2006 08:13:43 +0000 (10:13 +0200)
committerJens Axboe <axboe@suse.de>
Thu, 1 Jun 2006 08:13:43 +0000 (10:13 +0200)
commit02e66a6ce4b0f5d41394fec5addb1ab574c6b0dc
tree923ec4b261ab8b633fff2be9e7b9c4afcf704737
parent3787619027396e320eeb174ad09c1e0c0ad2c42c
[PATCH] cfq-iosched: fix bug in timer handling for the idle class

There's a small window from when the timer is entered and we grab
the queue lock, where cfq_set_active_queue() could be rearming the
timer for us. Seen in the wild on a 12-way ppc box. Fix this by
just using mod_timer(), which will do the right thing for us.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/cfq-iosched.c