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 lock contention and slab status check in
rrpc_core_init,or you have any other concerns ?

The rrpc_core_init is only run at registration time and isn't in a critical path. So I rather not initialize something until we really it.

ps. it is custom not to top post :)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to