On 05/30/2011 03:30 PM, Pekka Enberg wrote:
On Mon, May 30, 2011 at 3:23 PM, Avi Kivity<avi@xxxxxxxxxx> wrote: > 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. Yup, I haven't heard of such thing either. AFAIK, it's all done lazily by the page allocator.
Note that in these days of dma engines a zeroing thread makes some sense. During a kernel build I see quite a bit of time spent in clear_page_c() or something. It would be nice to have the dma engine prepare some clear pages so we could skip it.
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html