android_kernel_xiaomi_sm7250/arch/x86_64/mm
Ravikiran G Thirumalai 85cc5135ac [PATCH] x86_64 early numa init fix
The tests Alok carried out on Petr's box confirmed that cpu_to_node[BP] is
not setup early enough by numa_init_array due to the x86_64 changes in
2.6.14-rc*, and unfortunately set wrongly by the work around code in
numa_init_array().  cpu_to_node[0] gets set with 1 early and later gets set
properly to 0 during identify_cpu() when all cpus are brought up, but
confusing the numa slab in the process.

Here is a quick fix for this.  The right fix obviously is to have
cpu_to_node[bsp] setup early for numa_init_array().  The following patch
will fix the problem now, and the code can stay on even when
cpu_to_node{BP] gets fixed early correctly.

Thanks to Petr for access to his box.

Signed off by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-30 12:41:20 -07:00
..
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [PATCH] x86-64: Safe interrupts in oops_begin/end 2005-09-12 10:50:57 -07:00
init.c [PATCH] x86-64: Fix show_mem a little bit 2005-09-12 10:50:55 -07:00
ioremap.c [PATCH] reorganize x86-64 NUMA and DISCONTIGMEM config options 2005-06-23 09:45:06 -07:00
k8topology.c [PATCH] x86-64: Support dualcore and 8 socket systems in k8 fallback node parsing 2005-09-12 10:49:56 -07:00
Makefile [PATCH] reorganize x86-64 NUMA and DISCONTIGMEM config options 2005-06-23 09:45:06 -07:00
numa.c [PATCH] x86_64 early numa init fix 2005-09-30 12:41:20 -07:00
pageattr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
srat.c [PATCH] x86-64: Use correct mask to compute conflicting nodes in SRAT 2005-09-12 10:50:58 -07:00