Re: cfq: fix possible problem with jiffies wraparound

From: Jens Axboe
Date: Mon Oct 05 2009 - 02:48:18 EST


On Sun, Oct 04 2009, Corrado Zoccolo wrote:
> The RR service tree is indexed by a key that is relative to current jiffies.
> This can cause problems on jiffies wraparound.
>
> The patch fixes it using time_before comparison, and changing
> the add_front path to use a relative number, too.

Good spotting, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/