Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* librseq memory allocator portability
@ 2025-02-02 15:48 Ondřej Surý via lttng-dev
  2025-02-03 14:52 ` Mathieu Desnoyers via lttng-dev
  0 siblings, 1 reply; 3+ messages in thread
From: Ondřej Surý via lttng-dev @ 2025-02-02 15:48 UTC (permalink / raw)
  To: lttng-dev

Hey Mathieu,

I’m actually thinking about using librseq for some more lightweight stuff first - like statistic counters (especially those related to memory allocations), and my first obvious question would be - how portable is the librseq memory allocator?

I am not keen on having a code with ifdef spaghetti to support BSDs, so I think that it probably should provide some per-thread memory pools at the expense of just consuming more memory on platforms without rseq system call.

Ondrej
--
Ondřej Surý (He/Him)

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

end of thread, other threads:[~2025-02-03 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-02 15:48 librseq memory allocator portability Ondřej Surý via lttng-dev
2025-02-03 14:52 ` Mathieu Desnoyers via lttng-dev
2025-02-03 14:55   ` Mathieu Desnoyers via lttng-dev

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