diff options
author | dormando <dormando@rydia.net> | 2012-07-14 22:05:18 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2012-07-27 12:47:16 -0700 |
commit | 423b9fd4b51055eba2f6b6a374def446057308b6 (patch) | |
tree | b469a7e220181b8902acd0c5b49dde469e082e51 /slabs.h | |
parent | 845a4fe1c47d8ddfc330b8184c2cb5ceec8c0a69 (diff) | |
download | memcached-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |