Re: cfq: fix possible problem with jiffies wraparound

From: Jens Axboe
Date: Mon Oct 05 2009 - 02:51:35 EST


On Mon, Oct 05 2009, Jens Axboe wrote:
> 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.

Your mailer seems to screw up your patches, it's white space damaged
(tabs are spaces). I hand applied it, but you probably want to check
that out and get it fixed.

--
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/