Re: Page fault scalability patch V18: Drop first acquisition of ptl

From: Christoph Lameter <clameter_at_sgi.com>
Date: 2005-03-04 09:14:11
On Thu, 3 Mar 2005, Andrew Morton wrote:

> Christoph Lameter <clameter@sgi.com> wrote:
> >
> > On Wed, 2 Mar 2005, Andrew Morton wrote:
> >
> >  > >  This is not relevant since it only deals with file pages.
> >  >
> >  > OK.   And CONFIG_DEBUG_PAGEALLOC?
> >
> >  Its a debug feature that can be fixed if its broken.
>
> It's broken.
>
> A fix would be to restore the get_page() if CONFIG_DEBUG_PAGEALLOC.  Not
> particularly glorious..

Another fix would be to have a global variable "dontunmap" and have
the map kernel function not change the pte. But this is also not the
cleanest way.

The problem with atomic operations is the difficulty of keeping state. The
state must essentially all be bound to the atomic value replaced otherwise
more extensive locking schemes are needed.


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 3 17:51:31 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST