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

From: Andrew Morton <akpm_at_osdl.org>
Date: 2005-03-03 17:20:08
Christoph Lameter <clameter@sgi.com> wrote:
>
> On Wed, 2 Mar 2005, Andrew Morton wrote:
> 
>  > > Any mmap changes requires the mmapsem.
>  >
>  > sys_remap_file_pages() will call install_page() under down_read(mmap_sem).
>  > It relies upon page_table_lock for pte atomicity.
> 
>  This is not relevant since it only deals with file pages.

OK.   And CONFIG_DEBUG_PAGEALLOC?

> 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...
-
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 01:33:33 2005

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