Hi I am studying xen memory setup

I am wondering the job of scrub heap pages in setup_mm

If i see the code, it clear unallocated page by setting them to 0 using
memset instruction

But it looks unneccessary assuming unallocated page will be written to
valid data when it is qllocated

Is there special reason?
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to