[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070307010756.b31c8190.akpm@linux-foundation.org>
Date: Wed, 7 Mar 2007 01:07:56 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: mingo@...e.hu, npiggin@...e.de, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, benh@...nel.crashing.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [patch 4/6] mm: merge populate and nopage into fault (fixes
nonlinear)
On Wed, 07 Mar 2007 09:51:57 +0100 Miklos Szeredi <miklos@...redi.hu> wrote:
> > > Dirty page accounting doesn't work either on
> > > non-linear mappings
> >
> > It doesn't? Confused - these things don't have anything to do with each
> > other do they?
>
> Look in page_mkclean(). Where does it handle non-linear mappings?
>
OK, I'd forgotten about that. It won't break dirty memory accounting,
but it'll potentially break dirty memory balancing.
If we have the wrong page (due to nonlinear), page_check_address() will
fail and we'll leave the pte dirty. That puts us back to the pre-2.6.17
algorithms and I guess it'll break the msync guarantees.
Peter, I thought we went through the nonlinear problem ages ago and decided
it was OK?
-
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