Subject: Re: new mremap(2): relax alignment restrictions?
To: None <tech-kern@netbsd.org>
From: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
List: tech-kern
Date: 07/30/2007 15:43:00
Joerg Sonnenberger wrote:
> So of all the options, ignoring the issue is the only really acceptable
> choice IMO.

the truncate issue might be fixable though by filling a present, "partially" mapped page with zeros.

I'd say the problem is even worse for partially mapped pages in the middle of a file.  I.e. map 10 bytes of a 100k file, write to byte 11.

cheers
  simon