aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index f788be3a0b12..5ee6c7cd9fc4 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -5277,8 +5277,8 @@ void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo)
5277 if (!n) 5277 if (!n)
5278 continue; 5278 continue;
5279 5279
5280 nr_slabs += atomic_long_read(&n->nr_slabs); 5280 nr_slabs += node_nr_slabs(n);
5281 nr_objs += atomic_long_read(&n->total_objects); 5281 nr_objs += node_nr_objs(n);
5282 nr_free += count_partial(n, count_free); 5282 nr_free += count_partial(n, count_free);
5283 } 5283 }
5284 5284