diff options
author | Christoph Lameter <cl@linux.com> | 2011-06-01 12:25:58 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-02 13:26:57 +0300 |
commit | 03e404af26dc2ea0d278d7a342de0aab394793ce (patch) | |
tree | 1290b42700767c661125aaf584253bdeb98b7afd /include/linux/slub_def.h | |
parent | e36a2652d7d1ad97f7636a39bdd8654d296cc36b (diff) | |
download | op-kernel-dev-03e404af26dc2ea0d278d7a342de0aab394793ce.zip op-kernel-dev-03e404af26dc2ea0d278d7a342de0aab394793ce.tar.gz |
slub: fast release on full slab
Make deactivation occur implicitly while checking out the current freelist.
This avoids one cmpxchg operation on a slab that is now fully in use.
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 5b228b7..71441f8 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -32,6 +32,7 @@ enum stat_item { DEACTIVATE_TO_HEAD, /* Cpu slab was moved to the head of partials */ DEACTIVATE_TO_TAIL, /* Cpu slab was moved to the tail of partials */ DEACTIVATE_REMOTE_FREES,/* Slab contained remotely freed objects */ + DEACTIVATE_BYPASS, /* Implicit deactivation */ ORDER_FALLBACK, /* Number of times fallback was necessary */ CMPXCHG_DOUBLE_CPU_FAIL,/* Failure of this_cpu_cmpxchg_double */ CMPXCHG_DOUBLE_FAIL, /* Number of times that cmpxchg double did not match */ |