[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC][PATCH] domheap optimization for NUMA
On 31/3/08 11:40, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote: > A new interface alloc_domheap_pages_on_node is introduced instead of changing > current implementation, which is invasive. > > There are still many places left for the new interface, but we can change them > in a incremental way if needed. A function called alloc_domheap_pages_on_node() should take a *node* argument not a vcpu. Perhaps have a helper domain_default_node() which returns node for d->vcpu[0] if d->vcpu[0] is non-NULL, else returns some value meaning 'any'. This will probably require some changes to page_alloc.c. That file currently likes to pass cpu ids around rather than node ids, but it would really be cleaner to pass around the latter. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |