summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-06-01 12:25:49 -0500
committerPekka Enberg <penberg@kernel.org>2011-07-02 13:26:53 +0300
commitb789ef518b2a7231b0668c813f677cee528a9d3f (patch)
tree08c300c4dde3e1386670962f233612a366bc59af /include
parentfc9bb8c768abe7ae10861c3510e01a95f98d5933 (diff)
downloadlinux-b789ef518b2a7231b0668c813f677cee528a9d3f.tar.gz
linux-b789ef518b2a7231b0668c813f677cee528a9d3f.tar.bz2
linux-b789ef518b2a7231b0668c813f677cee528a9d3f.zip
slub: Add cmpxchg_double_slab()
Add a function that operates on the second doubleword in the page struct and manipulates the object counters, the freelist and the frozen attribute. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/slub_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index c8668d161dd8..b42715294147 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -33,6 +33,7 @@ enum stat_item {
DEACTIVATE_REMOTE_FREES,/* Slab contained remotely freed objects */
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 */
NR_SLUB_STAT_ITEMS };
struct kmem_cache_cpu {