Subject: Re: Add a MAP_ALIGNED flag for mmap(2).
To: Bill Studenmund <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 03/02/2003 23:35:58
>I also like listing the alignment in terms of bytes, not pages, since it
>means userland code doesn't care what the internal page size is. Also it
>might help emulation if future systems raise the page size (like say we go
>from 4k to 8k or 8k to 16k as part of a CPU transition) - we don't have to
>keep track of the implicit page size.
perhaps the alignment passed from userland could be considered the
"smallest desired" alignment. certainly if you ask for something
aligned to 4k and you get something aligned to 8k, you haven't not
gotten what you wanted.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."