Re: cfq: fix possible problem with jiffies wraparound

Jens Axboe
2009-10-05T06:47:36Z

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