aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-23 16:19:26 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-23 16:19:26 +0200
commit9b9b181ce53ef387dfe3df9316bbc641fca13d51 (patch)
treeacc34cf3d5172536c37de61eafbda399163e4265 /mm
parentfb71e45338453698bd7460f7e8f171ea0304d218 (diff)
parent72d31053f62c4bc464c2783974926969614a8649 (diff)
downloadkernel_samsung_smdk4412-9b9b181ce53ef387dfe3df9316bbc641fca13d51.zip
kernel_samsung_smdk4412-9b9b181ce53ef387dfe3df9316bbc641fca13d51.tar.gz
kernel_samsung_smdk4412-9b9b181ce53ef387dfe3df9316bbc641fca13d51.tar.bz2
Merge commit 'v2.6.27-rc7' into core/locking
Diffstat (limited to 'mm')
-rw-r--r--mm/mmzone.c2
-rw-r--r--mm/slub.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/mm/mmzone.c b/mm/mmzone.c
index 486ed59..16ce8b9 100644
--- a/mm/mmzone.c
+++ b/mm/mmzone.c
@@ -69,6 +69,6 @@ struct zoneref *next_zones_zonelist(struct zoneref *z,
(z->zone && !zref_in_nodemask(z, nodes)))
z++;
- *zone = zonelist_zone(z++);
+ *zone = zonelist_zone(z);
return z;
}
diff --git a/mm/slub.c b/mm/slub.c
index fb486d5..0c83e6a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1932,6 +1932,7 @@ init_kmem_cache_node(struct kmem_cache_node *n, struct kmem_cache *s)
INIT_LIST_HEAD(&n->partial);
#ifdef CONFIG_SLUB_DEBUG
atomic_long_set(&n->nr_slabs, 0);
+ atomic_long_set(&n->total_objects, 0);
INIT_LIST_HEAD(&n->full);
#endif
}