ia64/xen-unstable

changeset 18741:bec755616e8e

x86: Specify NUMA node when alloc'ing compat l4 for 32-on-64 guest
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Oct 29 10:19:35 2008 +0000 (2008-10-29)
parents 2c7665f04038
children 183d2d7adc2f
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Wed Oct 29 10:14:13 2008 +0000
     1.2 +++ b/xen/arch/x86/domain.c	Wed Oct 29 10:19:35 2008 +0000
     1.3 @@ -174,9 +174,10 @@ void free_vcpu_struct(struct vcpu *v)
     1.4  
     1.5  static int setup_compat_l4(struct vcpu *v)
     1.6  {
     1.7 -    struct page_info *pg = alloc_domheap_page(NULL, 0);
     1.8 +    struct page_info *pg;
     1.9      l4_pgentry_t *l4tab;
    1.10  
    1.11 +    pg = alloc_domheap_page(NULL, MEMF_node(vcpu_to_node(v)));
    1.12      if ( pg == NULL )
    1.13          return -ENOMEM;
    1.14