The patch titled
     Fix SLAB kmem_list3 for booting on machines with memoryless nodes (full 
revert of 04231b3002ac53f8a64a7bd142fde3fa4b6808c6)
has been removed from the -mm tree.  Its filename was
     
fix-slab-kmem_list3-for-booting-on-machines-with-memoryless-nodes-full-revert-of-04231b3002ac53f8a64a7bd142fde3fa4b6808c6.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Fix SLAB kmem_list3 for booting on machines with memoryless nodes 
(full revert of 04231b3002ac53f8a64a7bd142fde3fa4b6808c6)
From: Mel Gorman <[EMAIL PROTECTED]>

Complete the revert of the changes made by
04231b3002ac53f8a64a7bd142fde3fa4b6808c6 to the kmem_list3 management in slab.
 On a machine with a memoryless node, BUG_ONs are triggering related to lists
not being initialised and this affects 2.6.24 so should be considered a
candidate for the stable tree.  The intention was to fully revert with commit
9c09a95cf431fcf5720f2e408befa24b32b8cf4d but I mucked it up.

This patch partially addresses a problem in 2.6.24 where SLAB in use with a
machine with memoryless nodes fails to boot.  SLUB is not affected.  Pekka
Enberg has the remainder of the fix which alters when the lists are
initialised.

Signed-off-by: Mel Gorman <[EMAIL PROTECTED]>
Cc: Olaf Hering <[EMAIL PROTECTED]>
Cc: Christoph Lameter <[EMAIL PROTECTED]>
Cc: Pekka Enberg <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 mm/slab.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
mm/slab.c~fix-slab-kmem_list3-for-booting-on-machines-with-memoryless-nodes-full-revert-of-04231b3002ac53f8a64a7bd142fde3fa4b6808c6
 mm/slab.c
--- 
a/mm/slab.c~fix-slab-kmem_list3-for-booting-on-machines-with-memoryless-nodes-full-revert-of-04231b3002ac53f8a64a7bd142fde3fa4b6808c6
+++ a/mm/slab.c
@@ -2099,7 +2099,7 @@ static int __init_refok setup_cpu_cache(
                        g_cpucache_up = PARTIAL_L3;
                } else {
                        int node;
-                       for_each_node_state(node, N_NORMAL_MEMORY) {
+                       for_each_online_node(node) {
                                cachep->nodelists[node] =
                                    kmalloc_node(sizeof(struct kmem_list3),
                                                GFP_KERNEL, node);
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
git-x86.patch
memory-hotplug-add-removable-to-sysfs-to-show-memblock-removability.patch
page-allocator-clean-up-pcp-draining-functions.patch
page-allocator-get-rid-of-the-list-of-cold-pages.patch
page-allocator-get-rid-of-the-list-of-cold-pages-fix.patch
memcgroup-tidy-up-mem_cgroup_charge_common.patch
memcgroup-fix-hang-with-shmem-tmpfs.patch
page-owner-tracking-leak-detector.patch
add-debugging-aid-for-memory-initialisation-problems.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to