[kernel] r15355 - in dists/lenny/linux-2.6/debian: . patches/bugfix/x86 patches/series
Dann Frazier
dannf at alioth.debian.org
Thu Mar 11 07:01:20 UTC 2010
Author: dannf
Date: Thu Mar 11 07:01:16 2010
New Revision: 15355
Log:
* x86: check boundary in setup_node_bootmem() (Closes: 569704)
Added:
dists/lenny/linux-2.6/debian/patches/bugfix/x86/check-boundary-in-setup_node_bootmem.patch
dists/lenny/linux-2.6/debian/patches/series/23
Modified:
dists/lenny/linux-2.6/debian/changelog
Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog Thu Mar 11 04:59:18 2010 (r15354)
+++ dists/lenny/linux-2.6/debian/changelog Thu Mar 11 07:01:16 2010 (r15355)
@@ -1,3 +1,9 @@
+linux-2.6 (2.6.26-23) UNRELEASED; urgency=low
+
+ * x86: check boundary in setup_node_bootmem() (Closes: 569704)
+
+ -- dann frazier <dannf at debian.org> Wed, 10 Mar 2010 23:42:11 -0700
+
linux-2.6 (2.6.26-22) stable; urgency=high
[ maximilian attems ]
Added: dists/lenny/linux-2.6/debian/patches/bugfix/x86/check-boundary-in-setup_node_bootmem.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/bugfix/x86/check-boundary-in-setup_node_bootmem.patch Thu Mar 11 07:01:16 2010 (r15355)
@@ -0,0 +1,34 @@
+[Adjusted to apply to Debian's 2.6.26]
+
+commit 4c31e92b97b6d7e7b19ee5e54a22571ffdebb305
+Author: Yinghai Lu <yinghai at kernel.org>
+Date: Wed Apr 22 14:19:27 2009 -0700
+
+ x86: check boundary in setup_node_bootmem()
+
+ Commit dc09855 ("x86/uv: fix init of memory-less nodes") causes a
+ two sockets system (where node-1 doesn't have RAM installed) to crash.
+
+ That commit makes node_possible include cpu nodes that do not have memory.
+ So check boundary in setup_node_bootmem().
+
+ [ Impact: fix boot crash on RAM-less NUMA node system ]
+
+ Signed-off-by: Yinghai Lu <yinghai at kernel.org>
+ Cc: Jack Steiner <steiner at sgi.com>
+ LKML-Reference: <49EF89DF.9090404 at kernel.org>
+ Signed-off-by: Ingo Molnar <mingo at elte.hu>
+
+diff -urpN a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
+--- a/arch/x86/mm/numa_64.c 2010-03-10 23:58:05.000000000 -0700
++++ b/arch/x86/mm/numa_64.c 2010-03-10 23:56:43.000000000 -0700
+@@ -198,6 +198,9 @@ void __init setup_node_bootmem(int nodei
+ const int pgdat_size = round_up(sizeof(pg_data_t), PAGE_SIZE);
+ int nid;
+
++ if (!end)
++ return;
++
+ start = round_up(start, ZONE_ALIGN);
+
+ printk(KERN_INFO "Bootmem setup node %d %016lx-%016lx\n", nodeid,
Added: dists/lenny/linux-2.6/debian/patches/series/23
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/series/23 Thu Mar 11 07:01:16 2010 (r15355)
@@ -0,0 +1 @@
++ bugfix/x86/check-boundary-in-setup_node_bootmem.patch
More information about the Kernel-svn-changes
mailing list