[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Specify NUMA node when alloc'ing compat l4 for 32-on-64 guest
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1225275575 0 # Node ID bec755616e8e4b8a0dd65f7a28edc1b8936906d4 # Parent 2c7665f04038e4282e4f7de11716ba441d0f12c7 x86: Specify NUMA node when alloc'ing compat l4 for 32-on-64 guest Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/domain.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 2c7665f04038 -r bec755616e8e xen/arch/x86/domain.c --- a/xen/arch/x86/domain.c Wed Oct 29 10:14:13 2008 +0000 +++ b/xen/arch/x86/domain.c Wed Oct 29 10:19:35 2008 +0000 @@ -174,9 +174,10 @@ void free_vcpu_struct(struct vcpu *v) static int setup_compat_l4(struct vcpu *v) { - struct page_info *pg = alloc_domheap_page(NULL, 0); + struct page_info *pg; l4_pgentry_t *l4tab; + pg = alloc_domheap_page(NULL, MEMF_node(vcpu_to_node(v))); if ( pg == NULL ) return -ENOMEM; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |