Subject: Re: Multiple page sizes and the pmap API
To: Nathan J. Williams <>
From: Jason R Thorpe <>
List: tech-kern
Date: 12/06/2001 13:42:00
On Thu, Dec 06, 2001 at 04:05:26PM -0500, Nathan J. Williams wrote:

 > Be careful to allocate enough bits here for the large number of page
 > sizes permitted by some architetures, since they're being allocated in
 > a MI bit-space. The IA64 architecture, for example, has ten different
 > page sizes, from 4k to 256M.

6 bits is enough to describe all powers of 2 between 2^12 and 2^64, so
I would think that would be more than enough.

        -- Jason R. Thorpe <>