Subject: Re: Multiple page sizes and the pmap API
To: Jared D. McNeill <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 12/06/2001 13:29:50
On Thu, Dec 06, 2001 at 05:02:05PM -0400, Jared D. McNeill wrote:
> It supports anywhere between 4KB and 4GB page sizes (in powers of
> two), with different page sizes at the same time. VSPM will also work
> together with traditional 4KB pages.
So, the number of entries in the table in that case would be:
log2(largest-page-size) - log2(smallest-page-size)
...assuming you wanted to describe the entire range. Like I said,
you could also advertise a subset of useful page sizes.
-- Jason R. Thorpe <firstname.lastname@example.org>