From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Cyrill Gorcunov Subject: [PATCH 0/3] small: Prepare ground for madvise Date: Wed, 1 May 2019 18:50:03 +0300 Message-Id: <20190501155006.14546-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: tml Cc: Vladimir Davydov , Cyrill Gorcunov List-ID: 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