|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: Xenheap disappearance: (was: xen_phys_start for 32b)
> How difficult has it been to work around? Is it just pointing
> xmalloc() at
> the domheap instead of xenheap?
>
> -- Keir
Thinking about this a bit more, unless you plan to stop
supporting 32-bit Xen anytime soon, the semantic differences
probably warrant adding a second interface, let's call
it admalloc() (ad == anonymous domain), that should only be
used in 64-bit-only code where it can be guaranteed that
usage of pointers to the alloc'ed memory need not be bracketed
with (ugly) map/unmap_domain_page() calls.
So I'd suggest adding _admalloc() and adfree() to xmalloc_tlsf.c
and when ifdef x86_64, _xmalloc and xfree simply get redefined
to _admalloc/adfree in xmalloc_tlsf.h.
If this sounds sensible, I will spin a patch as I'm the one keen
to get this settled.
Thanks,
Dan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] xen_phys_start for 32b, (continued)
- Re: [Xen-devel] xen_phys_start for 32b, Keir Fraser
- RE: [Xen-devel] xen_phys_start for 32b, Cihula, Joseph
- Re: [Xen-devel] xen_phys_start for 32b, Keir Fraser
- RE: [Xen-devel] xen_phys_start for 32b, Cihula, Joseph
- Re: [Xen-devel] xen_phys_start for 32b, Keir Fraser
- RE: [Xen-devel] xen_phys_start for 32b, Cihula, Joseph
- Re: [Xen-devel] xen_phys_start for 32b, Keir Fraser
- [Xen-devel] Xenheap disappearance: (was: xen_phys_start for 32b), Dan Magenheimer
- [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for 32b), Keir Fraser
- [Xen-devel] RE: Xenheap disappearance: (was: xen_phys_start for 32b), Dan Magenheimer
- [Xen-devel] RE: Xenheap disappearance: (was: xen_phys_start for 32b),
Dan Magenheimer <=
- RE: [Xen-devel] RE: Xenheap disappearance: (was: xen_phys_start for 32b), Dan Magenheimer
- RE: [Xen-devel] RE: Xenheap disappearance: (was: xen_phys_start for 32b), Dan Magenheimer
- [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for 32b), Keir Fraser
- Re: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for 32b), Keir Fraser
- RE: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for 32b), Dan Magenheimer
- Re: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for 32b), Keir Fraser
- Re: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for32b), Jan Beulich
- RE: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_start for32b), Dan Magenheimer
- RE: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_startfor32b), Jan Beulich
- RE: [Xen-devel] Re: Xenheap disappearance: (was: xen_phys_startfor32b), Dan Magenheimer
|
|
|
|
|