diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-03-04 14:10:17 -0500 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-03-06 19:21:49 -0500 |
commit | b773ad73690b5f34eee0c76f4273ac6fcbd88f82 (patch) | |
tree | 76487ed8339cde643e05a02b881ddec01a2fb7d6 /mm/slub.c | |
parent | d7fe321eeba58f0a37cc4324d10e52092be457e0 (diff) |
slub statistics: Fix check for DEACTIVATE_REMOTE_FREES
The remote frees are in the freelist of the page and not in the
percpu freelist.
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1368,7 +1368,7 @@ static void deactivate_slab(struct kmem_cache *s, struct kmem_cache_cpu *c) | |||
1368 | struct page *page = c->page; | 1368 | struct page *page = c->page; |
1369 | int tail = 1; | 1369 | int tail = 1; |
1370 | 1370 | ||
1371 | if (c->freelist) | 1371 | if (page->freelist) |
1372 | stat(c, DEACTIVATE_REMOTE_FREES); | 1372 | stat(c, DEACTIVATE_REMOTE_FREES); |
1373 | /* | 1373 | /* |
1374 | * Merge cpu freelist into slab freelist. Typically we get here | 1374 | * Merge cpu freelist into slab freelist. Typically we get here |