Andre Przywara
2008-May-13 20:15 UTC
[Xen-devel] [PATCH] fixing wrong cpu_to_node information
Hi, when booting unstable with numa=on, Xen reports the node_to_cpu relation improperly (test with xm info). The physinfo sysctl has input parameters (described in public/sysctl.h), which obviously should not be clobbered with memset before being used in sysctl.c (introduced in c/s 17336). Attached patch fixed this by saving the input values before cleaning the structure. This does not only effect the more or less cosmetic xm info output, but also for instance the automatic NUMA placement code which stops with an error. IA64 branch not tested (cross compiler project is stalled for the moment ;-(. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Regards, Andre -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 ----to satisfy European Law for business letters: AMD Saxony Limited Liability Company & Co. KG, Wilschdorfer Landstr. 101, 01109 Dresden, Germany Register Court Dresden: HRA 4896, General Partner authorized to represent: AMD Saxony LLC (Wilmington, Delaware, US) General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel