lkml.org 
[lkml]   [2011]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/9] writeback: introduce smoothed global dirty limit
> > +	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!


\
 
 \ /
  Last update: 2011-07-08 16:19    [from the cache]
©2003-2011 Jasper Spaans