Re: [patch] mm: close page_mkwrite races

Nick Piggin
2009-04-02T09:00:14Z

On Wed, Apr 01, 2009 at 07:33:31PM -0400, Trond Myklebust wrote:
> On Wed, 2009-04-01 at 16:02 -0700, Andrew Morton wrote:
> > What is "the problem"? Can we get "the problem"'s description included
> > in the changelog?
> >
> > The patch is fairly ugly, somewhat costly and makes things (even) more
> > complex. Sigh.
>
> The problem is that currently, pages can be marked as dirty after they
> have been written out, or even during writeout.
>
> IOW: the filesystem and the mm no longer agree on the state of the page,
> which again triggers issues such as
> http://bugzilla.kernel.org/show_bug.cgi?id=12913

Thanks, that would go nicely at the top of the changelog.