On 12/08/2015 12:36 PM, Wenwei Tao wrote:
Hi Matias
In my understanding kmem_cache_create only allocate and setup some
basic structures, the actual slab memory is allocated from buddy
system when we use these slabs.
Do you think the memory consumed by these structures is a issue
compared to the
Hi Matias
In my understanding kmem_cache_create only allocate and setup some
basic structures, the actual slab memory is allocated from buddy
system when we use these slabs.
Do you think the memory consumed by these structures is a issue
compared to the lock contention and slab status check in
rr
create rrpc slabs during rrpc module init,
thus eliminate the lock contention and slab
status check in rrpc_core_init. And destroy
them when rrpc exit.
Signed-off-by: Wenwei Tao
---
drivers/lightnvm/rrpc.c | 54 ++---
1 file changed, 33 insertions(+),
3 matches
Mail list logo