RE: HUGEPAGE SIZE a boottime option

Chen, Kenneth W
2004-02-20T04:00:04Z

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-----
From: linux-ia64-owner@vger.kernel.org
[mailto:linux-ia64-owner@vger.kernel.org]On Behalf Of Jack Steiner
Sent: Thursday, February 19, 2004 5:08 PM
To: linux-ia64@vger.kernel.org
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 (except
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.