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

Christoph Lameter
2005-03-03T16:54:35Z

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.

> > ptes are only
> > installed atomically for anonymous memory (if CONFIG_ATOMIC_OPS
> > is defined).
>
> It's a shame. A *nice* solution to this problem would address all pte ops
> and wouldn't have such special cases...

Yeah. See my mmu abstraction proposal. This is a solution until we can
address the bigger issues. After that has been worked out the
start/stop become begin/end transaction and the pte_cmpxchg are converted
into mmu_add/mmu_change/mmu_commit