Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/3] small: Prepare ground for madvise
@ 2019-05-01 15:50 Cyrill Gorcunov
  2019-05-01 15:50 ` [PATCH 1/3] build: Check for madvise syscall Cyrill Gorcunov
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Cyrill Gorcunov @ 2019-05-01 15:50 UTC (permalink / raw)
  To: tml; +Cc: Vladimir Davydov, Cyrill Gorcunov

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-05-06 13:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 15:50 [PATCH 0/3] small: Prepare ground for madvise Cyrill Gorcunov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox