Subject: Re: hardwiring USPACE
To: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-mips
Date: 11/26/2000 08:50:20
On Sun, Nov 26, 2000 at 04:52:59PM +0900, Toru Nishimura wrote:
> /*
> * Allocate virtual address space for the U-area now, while it
> * is still easy to abort the fork operation if we're out of
> * kernel virtual address space. The actual U-area pages will
> * be allocated and wired in vm_fork().
> */
> uaddr = uvm_km_valloc_align(kernel_map, USPACE, USPACE);
>
> It takes the 3rd argument 'align' which is just passed to uvm_map()
> call inside. uvm_km_valloc() is now a wrapper for it. This seems the
> least intrusive to other ports.
If you'd like to commit this change, go ahead. It has a clear benefit.
--
-- Jason R. Thorpe <thorpej@zembu.com>