Subject: Re: Add a MAP_ALIGNED flag for mmap(2).
To: Matt Thomas <matt@3am-software.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 03/02/2003 10:29:10
On Sun, Mar 02, 2003 at 01:13:28AM -0800, Matt Thomas wrote:

 > Taking Andrew Brown's idea, I stole the top 8 bit of the flags argument
 > to mmap(2) to inside a log2 value of alignment desired.  The attach
 > patch implements the proposal and (after a few bugs in uvm) works fine.

I don't really like the flags thing .. I'd say either your first proposal,
or a new mmap call that takes an additional alignment argument.

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