summaryrefslogtreecommitdiff
path: root/slabs.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2012-07-14 22:05:18 -0700
committerdormando <dormando@rydia.net>2012-07-27 12:47:16 -0700
commit423b9fd4b51055eba2f6b6a374def446057308b6 (patch)
treeb469a7e220181b8902acd0c5b49dde469e082e51 /slabs.h
parent845a4fe1c47d8ddfc330b8184c2cb5ceec8c0a69 (diff)
downloadmemcached-423b9fd4b51055eba2f6b6a374def446057308b6.tar.gz
remove end_page_ptr business from slabs
slab memory assignment used to lazily split a new page into chunks as memory was requested. now it doesn't, so drop all the related code. Cuts the memory assignment hotpath a tiny bit, so that's exciting.
Diffstat (limited to 'slabs.h')
-rw-r--r--slabs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slabs.h b/slabs.h
index 730474b..7c6140b 100644
--- a/slabs.h
+++ b/slabs.h
@@ -38,7 +38,7 @@ void stop_slab_maintenance_thread(void);
enum reassign_result_type {
REASSIGN_OK=0, REASSIGN_RUNNING, REASSIGN_BADCLASS, REASSIGN_NOSPARE,
- REASSIGN_DEST_NOT_FULL, REASSIGN_SRC_NOT_SAFE, REASSIGN_SRC_DST_SAME
+ REASSIGN_SRC_DST_SAME
};
enum reassign_result_type slabs_reassign(int src, int dst);