Re: [PATCH v2 6/8] kvm tools: Add rwlock wrapper

Avi Kivity
2011-05-30T12:24:12Z

On 05/30/2011 03:20 PM, Ingo Molnar wrote:
> How does this work in practice - i thought we memset() all of RAM
> during guest kernel bootup. That might have changed with the memblock
> allocator ... So the guest kernel does not touch all of that 64 GB of
> RAM, so your box wont OOM straight away?

IIRC there never was a memset() of all RAM, at least since kvm started
booting Linux. Windows has a zeroing thread which causes all of RAM to
be committed shortly after boot, though.

--
error compiling committee.c: too many arguments to function