On 12/01/09 15:34, Avi Kivity wrote:
On 12/01/2009 02:40 PM, Gerd Hoffmann wrote:Even more advanced: Make zero_length_malloc page-sized and page-aligned, then munmap int, so dereferencing it actually traps.That will cause vma fragmentation.
I was thinking about a single unmapped page, which wouldn't cause fragmentation. But that is a bad idea too for other reasons ...
cheers, Gerd