Thread (35 messages) flat view 35 messages, 3 authors, 2016-06-15

Re: [PATCH 3/9] Add memory pool library

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:49:00

Hi Jonathan,

Jonathan Nieder wrote:
From: David Barr <redacted>

Add a memory pool library implemented using C macros. The obj_pool_gen()
macro creates a type-specific memory pool API.
Until some sort of mmap is implemented, I doubt we can do much better
than this. By marking all the generated functions MAYBE_UNUSED, we're
actually suppressing more warnings than intended. Maybe we can avoid
it and somehow find a way to mark only those functions that are really
unused? Perhaps an extra parameter in obj_pool_gen?

-- Ram
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help