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

Re: [Xen-devel] New heap API and scrubbing


  • To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Tue, 10 Feb 2009 05:19:11 +0000
  • Cc:
  • Delivery-date: Mon, 09 Feb 2009 21:19:46 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmLFixjhrwPZ3s2Q7qGbJ842NGC5AAKO6up
  • Thread-topic: [Xen-devel] New heap API and scrubbing

They allocate from the same pool of pages, but they differ very slightly. If
you alloc_fooheap_pages() you must free_fooheap_pages(). You could probably
make the distinction based on is_xenheap_page() if you wanted.

 -- Keir

On 10/02/2009 00:24, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> So in the new (soon-to-be 3.4) heap API, are
> 
> alloc_domheap_pages(NULL,order,flags)
> 
> and
> 
> alloc_xenheap_pages(order,flags)
> 
> synonomous on 64-bit hypervisors?  I.e. they
> are allocating from the same pool of pages?
> And if so are the matching free routines
> synonomous?
> 
> If not, under what circumstances should one be
> used rather than the other?
> 
> Are there any cases now where free_XXXheap_pages
> might free up pages that could be grabbed by
> another domain and those pages have not been
> scrubbed?
> 
> Thanks,
> Dan
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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