]> err.no Git - linux-2.6/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)
commitae818a38d4755ba4c16a22a8eacec859511a5393
tree923ec4b261ab8b633fff2be9e7b9c4afcf704737
parent25776e3594f841b7fae7b33ebecf009a0a55bed1
[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