[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [PATCH 1/6][RESEND] xen: Add NUMA support to Xen



 
> What I'm fighting now is getting linux/arch/x86_64/mm/numa.c to build.
> Some of the structures to track numa info (struct pglist_data) are
> rather linux specific and include lots of structures related to Linux mm
> zones, check out linux/include/linux/mmzone.h.  I attempted to avoid
> bring in that in, but the pfn_to_nid/phys_to_nid macros are based on
> memnodemap array.  


I guess you can just replace setup_node_bootmem / setup_node_zones / 
numa_free_all_bootmem with Xen specific functions. They should be the only 
functions dealing with pglists and they're relatively straight forward.

-Andi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.