From: Keir Fraser Subject: Re: scrubbing free'd pages Date: Tue, 25 May 2010 14:39:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper , Rafal Wojtczuk Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 25/05/2010 14:33, "James Harper" wrote: >> Other memory pages the domain freeing the >> pages must scrub them itself before freeing them back to Xen. > > Is that true for a HVM domain making a decrease_reservation hypercall? > If so I should modify my code accordingly... Yes you should. > it also means I need to > know if the page I'm decreasing is an unpopulated PoD page or not too. Certainly you could avoid it in that case. Actually I think the PoD code can detect and reclaim allocated-but-zeroed pages however. But not sure if you really have to rely on that or not. -- Keir