Subject: Re: new mremap(2): relax alignment restrictions?
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 07/24/2007 19:13:23
On Tue, Jul 24, 2007 at 07:06:04PM +0200, Matthias Drochner wrote:
> NetBSD's new mremap(2) does not only require the start address
> of the memory range to be page aligned, but additionally the
> old and new sizes to be multiple of the page size.
> This differs from the Linux behaviour, and it is also
> inconsistent to mmap(2) which rounds up implicitely.

I always found the mmap behaviour a bit bogus, but I don't have a strong
position on it. Feel free to commit.

Joerg