[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Question about scrub_heap_pages


  • To: xen-devel@xxxxxxxxxxxxx
  • From: 조현권 <chkwon91@xxxxxxxxx>
  • Date: Mon, 20 Jun 2016 15:37:57 +0900
  • Delivery-date: Mon, 20 Jun 2016 06:38:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.