Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b773ad73 authored by Christoph Lameter's avatar Christoph Lameter
Browse files

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: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
parent d7fe321e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1368,7 +1368,7 @@ static void deactivate_slab(struct kmem_cache *s, struct kmem_cache_cpu *c)
	struct page *page = c->page;
	int tail = 1;

	if (c->freelist)
	if (page->freelist)
		stat(c, DEACTIVATE_REMOTE_FREES);
	/*
	 * Merge cpu freelist into slab freelist. Typically we get here