Re: RFC: CONFIG_PAGE_SHIFT (aka software PAGE_SIZE)

Paul Mackerras
2007-07-07T07:02:20Z

Andrea Arcangeli writes:

> So my whole idea is to once and for all to decuple the size of the
> pte-entry (4k on x86/amd64) with the page allocator granularity. The
> HARD_PAGE_SHIFT will be 4k still, the common code PAGE_SIZE will be
> variable and configurable at compile time with CONFIG_PAGE_SHIFT.

How does the page cache work with your scheme? For example if I have
1000 1kB files cached in the page cache, and 16k PAGE_SIZE, does that
use up 4M, or 16M?

Paul.