diff options
author | Christoph Lameter <cl@linux.com> | 2011-06-01 12:25:57 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-02 13:26:56 +0300 |
commit | e36a2652d7d1ad97f7636a39bdd8654d296cc36b (patch) | |
tree | fd01f6bf66b233e8e66a119ded39691914db7d7e /include/linux/slub_def.h | |
parent | fc59c05306fe1dcfa3fb8ba34ed45407fba4689c (diff) | |
download | linux-3.10-e36a2652d7d1ad97f7636a39bdd8654d296cc36b.tar.gz linux-3.10-e36a2652d7d1ad97f7636a39bdd8654d296cc36b.tar.bz2 linux-3.10-e36a2652d7d1ad97f7636a39bdd8654d296cc36b.zip |
slub: Add statistics for the case that the current slab does not match the node
Slub reloads the per cpu slab if the page does not satisfy the NUMA condition. Track
those reloads since doing so has a performance impact.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/linux/slub_def.h')
-rw-r--r-- | include/linux/slub_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index b4271529414..5b228b78537 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -24,6 +24,7 @@ enum stat_item { ALLOC_FROM_PARTIAL, /* Cpu slab acquired from partial list */ ALLOC_SLAB, /* Cpu slab acquired from page allocator */ ALLOC_REFILL, /* Refill cpu slab from slab freelist */ + ALLOC_NODE_MISMATCH, /* Switching cpu slab */ FREE_SLAB, /* Slab freed to the page allocator */ CPUSLAB_FLUSH, /* Abandoning of the cpu slab */ DEACTIVATE_FULL, /* Cpu slab was full when deactivated */ |