[PATCH 0/3] small: Prepare ground for madvise

Cyrill Gorcunov gorcunov at gmail.com
Wed May 1 18:50:03 MSK 2019


We need to eliminate some slab areas from coredump, for
this sake lets provide a way to small allocator to advise
memory system about our wish.

Guys, this is early RFC, comments and ideas on API are welcome.

Cyrill Gorcunov (3):
  build: Check for madvise syscall
  slab_arena: Provide slab_arena_madvise_create to madvice slabs
  test: slab_arena -- Verify madvise

 CMakeLists.txt       | 11 ++++++
 small/config.h.cmake |  9 +++++
 small/slab_arena.c   | 49 ++++++++++++++++++++++++
 small/slab_arena.h   | 27 +++++++++++++
 test/slab_arena.c    | 90 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 186 insertions(+)
 create mode 100644 small/config.h.cmake

-- 
2.20.1




More information about the Tarantool-patches mailing list