LWN.net Logo

Demand faulting for huge pages

From:  Adam Litke <agl@us.ibm.com>
To:  akpm@osdl.org
Subject:  [PATCH 0/3] Demand faulting for huge pages
Date:  Wed, 28 Sep 2005 15:25:41 -0500
Cc:  "ADAM G. LITKE [imap]" <agl@us.ibm.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org
Archive-link:  Article, Thread

Hi Andrew.  Can we give hugetlb demand faulting a spin in the mm tree?
And could people with alpha, sparc, and ia64 machines give them a good
spin?  I haven't been able to test those arches yet.

-Thanks

- htlb-get_user_pages removes an optimization that is no longer valid
when demand faulting huge pages

- htlb-fault moves the fault logic from hugetlb_prefault() to
hugetlb_pte_fault() and find_get_huge_page().

- htlb-acct adds an overcommit check to maintain the no-overcommit
semantics provided by hugetlb_prefault()
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds