Re: [PATCH 6/9] writeback: introduce smoothed global dirty limit

From: Wu Fengguang
Date: Fri Jul 08 2011 - 10:16:08 EST


> > + if (now - update_time < MAX_PAUSE)
>
> if (time_before(now, update_time + MAX_PAUSE))
>
> > + return;
> > +
> > + spin_lock(&dirty_lock);
> > + if (now - update_time >= MAX_PAUSE) {
>
> if (time_after_eq(now, update_time + MAX_PAUSE))

Changed, thanks!
--
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/