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

Wu Fengguang
2011-07-08T14:16:06Z

> > + 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!