On 21 February 2012 16:19, Alexander Graf <ag...@suse.de> wrote: > On 02/21/2012 05:11 PM, Peter Maydell wrote: >> For a proper fix we probably need to handle set/getrlimit for >> RLIMIT_AS specially so we can apply them ourselves to the guest's >> mmap/brk usage and don't get spurious allocation failures of >> our private data structures... > > Or we preallocate structures we need in those critical paths. Or we manage > an allocation failure by not linking pages.
Yeah. Feel free to submit patches :-) -- PMM