gh-695: slab_alloc_maximal and variable slab sizes
Avoid overwriting tuple data with information necessary for smfree(). Only use a single pointer to store delayed free context. Add a test case. Minor cleanups/comments/renames.
Showing
- src/box/tuple.cc 22 additions, 19 deletionssrc/box/tuple.cc
- src/box/tuple.h 6 additions, 0 deletionssrc/box/tuple.h
- src/lib/small/lifo.h 6 additions, 0 deletionssrc/lib/small/lifo.h
- src/lib/small/mempool.c 2 additions, 0 deletionssrc/lib/small/mempool.c
- src/lib/small/mempool.h 19 additions, 10 deletionssrc/lib/small/mempool.h
- src/lib/small/slab_cache.c 8 additions, 4 deletionssrc/lib/small/slab_cache.c
- src/lib/small/small.c 43 additions, 48 deletionssrc/lib/small/small.c
- src/lib/small/small.h 0 additions, 2 deletionssrc/lib/small/small.h
- test/app/snapshot.result 1 addition, 0 deletionstest/app/snapshot.result
- test/app/snapshot.test.lua 62 additions, 0 deletionstest/app/snapshot.test.lua
Loading
Please register or sign in to comment