[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110708115107.GA6159@localhost>
Date: Fri, 8 Jul 2011 04:51:07 -0700
From: Wu Fengguang <fengguang.wu@...el.com>
To: Andrea Righi <righi.andrea@...il.com>
Cc: "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
Jan Kara <jack@...e.cz>, Dave Chinner <david@...morbit.com>,
Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists