RE: HUGEPAGE SIZE a boottime option

From: Seth, Rohit <>
Date: 2004-02-21 06:36:38
Recently there have been couple of feature extensions requests for
hugetlb support.  Boot time option is one of them.  Run-time
modification of HUGE_PAGE_SIZE is another one.

Ken is currently in the process of providing the support for boot time
configuration for huge page size.  As long as there are only two
supported page sizes (PAGE_SIZE and HPAGE_SIZE), it is possible to
achieve the boot time configuration of HUGE_PAGE_SIZE without needing to
patch the kernel (and possibly better packing the vhpt fault handler
code).  We will ship the patch out to the list.

Thanks, rohit

_>-----Original Message-----
_>From: [mailto:linux-ia64-
_>] On Behalf Of Chen, Kenneth W
_>Sent: Thursday, February 19, 2004 8:00 PM
_>To: Jack Steiner;
_>Subject: RE: HUGEPAGE SIZE a boottime option
_>It is not functionally complete though.  alloc_fresh_huge_page(),
_>hugetlb_free_pgtables(), and update_and_free_page has #define constant
_>that indirectly from HPAGE_SHIFT.
_>You might checked already, text replication works in this case?
_>I have more comments, will post later ...
_>- Ken
_>-----Original Message-----
_>[]On Behalf Of Jack Steiner
_>Sent: Thursday, February 19, 2004 5:08 PM
_>Subject: HUGEPAGE SIZE a boottime option
_>Here is a preliminary version of a patch that makes the size of
_>HUGEPAGES a boottime option. Only ia64-specific files are changed
_>for the Documentation file).
_>We have a number of customers using large pages. Unfortunately,
_>the "optimum" size of a large page is application & configuration
_>dependent. Rather that having each customer recompile to specify their
_>own HUGEPAGESIZE, this patch make the size a boottime option.
_>Does this patch look reasonable? If so, I will incorporate feedback,
_>finish testing it, update it to 2.6.3 & resubmit.
_>To unsubscribe from this list: send the line "unsubscribe linux-ia64"
_>the body of a message to
_>More majordomo info at
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Feb 20 14:37:34 2004

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