From: Cyrill Gorcunov <gorcunov@gmail.com> To: tml <tarantool-patches@freelists.org> Cc: Vladimir Davydov <vdavydov.dev@gmail.com>, Cyrill Gorcunov <gorcunov@gmail.com> Subject: [PATCH 0/3] small: Prepare ground for madvise Date: Wed, 1 May 2019 18:50:03 +0300 [thread overview] Message-ID: <20190501155006.14546-1-gorcunov@gmail.com> (raw) 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
next reply other threads:[~2019-05-01 15:50 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-01 15:50 Cyrill Gorcunov [this message] 2019-05-01 15:50 ` [PATCH 1/3] build: Check for madvise syscall Cyrill Gorcunov 2019-05-06 10:25 ` Vladimir Davydov 2019-05-06 10:39 ` Cyrill Gorcunov 2019-05-01 15:50 ` [PATCH 2/3] slab_arena: Provide slab_arena_madvise_create to madvice slabs Cyrill Gorcunov 2019-05-06 10:38 ` Vladimir Davydov 2019-05-06 11:03 ` Cyrill Gorcunov 2019-05-06 13:46 ` Alexander Turenko 2019-05-01 15:50 ` [PATCH 3/3] test: slab_arena -- Verify madvise Cyrill Gorcunov 2019-05-06 10:45 ` Vladimir Davydov 2019-05-06 10:48 ` Cyrill Gorcunov 2019-05-06 10:55 ` Vladimir Davydov 2019-05-06 10:57 ` Cyrill Gorcunov 2019-05-06 11:04 ` Alexander Turenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190501155006.14546-1-gorcunov@gmail.com \ --to=gorcunov@gmail.com \ --cc=tarantool-patches@freelists.org \ --cc=vdavydov.dev@gmail.com \ --subject='Re: [PATCH 0/3] small: Prepare ground for madvise' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox