Re: [PATCH] prevent NULL mmap in topdown model

Chris Wright
2005-05-19T06:46:57Z

* Linus Torvalds (torvalds@osdl.org) wrote:
> However, it would be good to have even the trivial patch tested.
> Especially since what it tries to fix is a total corner-case in the first
> place..

I gave it a quick and simple test. Worked as expected. Last page got
mapped at 0x1000, leaving first page unmapped. Of course, either with
MAP_FIXED or w/out MAP_FIXED but proper hint (like -1) you can still
map first page. This isn't to say I was extra creative in testing.