Subject: Re: uvm_km_valloc_align() and USPACE (Re: CVS commit: syssrc)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 11/28/2000 08:05:31
On Wed, Nov 29, 2000 at 12:21:43AM +0900, Izumi Tsutsui wrote:

 > This means that UPAGES must be the power of two?
 > On some m68k port, UPAGES is 3 so uvm_map_findspace() fails
 > on KASSERT((align & (align - 1)) == 0).
 > 
 > (I guess UPAGES on such ports could be changed to 2 from 3, though.)

Yah, it should just be 2 ... wonder why some of them are using 3 pages?!

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>