[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090218102314.15a0b0c6.akpm@linux-foundation.org>
Date: Wed, 18 Feb 2009 10:23:14 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Nick Piggin <npiggin@...e.de>
Cc: Edward Shishkin <edward.shishkin@...il.com>, peterz@...radead.org,
rmh3093@...il.com, randy.dunlap@...cle.com,
linux-kernel@...r.kernel.org, reiserfs-devel@...r.kernel.org
Subject: Re: [patch 1/2] vfs: add/use update_page_accounting
On Wed, 18 Feb 2009 15:06:26 +0100 Nick Piggin <npiggin@...e.de> wrote:
> On Wed, Feb 18, 2009 at 04:27:02PM +0300, Edward Shishkin wrote:
> > > > Maybe it makes sense to add comments with warnings
> > > > in all such places, or create a header file with a static inline
> > > > function update_page_accounting() ?
> > >
> > > Could just uninline the helper function I guess - if you look, those
> > > four statements already involve doing a heck of a lot of stuff.
> > >
> > > Try it, see how it looks?
> > >
> >
> > Done.
> > Please, review.
> >
> > Add/use a helper function update_page_accounting().
>
> Fine patch, except the name I don't like. account_set_page_dirty, or
> account_page_dirtied, or something to hint it is for accounting
> dirty.
yep, sorry, I didn't think too hard about that for-example.
I'll edit the diffs..
--
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