|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [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
|
|
|
|
|