[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703261112110.13105@schroedinger.engr.sgi.com>
Date: Mon, 26 Mar 2007 11:14:55 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [QUICKLIST 1/5] Quicklists for page table pages V4
On Mon, 26 Mar 2007, Christoph Lameter wrote:
> > After your patches, x86_64 is using a common quicklist allocator for puds,
> > pmds and pgds and continues to use get_zeroed_page() for ptes.
>
> x86_64 should be using quicklists for all ptes after this patch. I did not
> convert pte_free() since it is only used for freeing ptes during races
> (see __pte_alloc). Since pte_free gets passed a page struct it would require
> virt_to_page before being put onto the freelist. Not worth doing.
>
> Hmmm... Then how does x86_64 free the ptes? Seems that we do
> free_page_and_swap_cache() in tlb_remove_pages. Yup so ptes are not
> handled which limits the speed improvements that we see.
And if we would try to put the ptes onto quicklists then we would get into
more difficulties with the tlb shootdown code. Sigh. We cannot easily
deal with ptes. Quicklists on i386 and x86_64 only work for pgds,puds and
pmds. And as was pointed out elsewhere in this thread: The performance
gains are therefore limited on these platforms.
-
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