Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286460

Re: [PATCH] lightnvm: change rrpc slab creation/destruction time

From Matias Bjørling <m@bjorling.me>
Newsgroups linux.kernel
Subject Re: [PATCH] lightnvm: change rrpc slab creation/destruction time
Date 2015-12-08 14:30 +0100
Message-ID <qDqv7-2Ue-5@gated-at.bofh.it> (permalink)
References <qD35w-4oT-3@gated-at.bofh.it> <qDoMF-1Ko-7@gated-at.bofh.it> <qDoMF-1Ko-5@gated-at.bofh.it>
Organization Paletta

Show all headers | View raw


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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] lightnvm: change rrpc slab creation/destruction time Wenwei Tao <ww.tao0320@gmail.com> - 2015-12-07 13:30 +0100
  Re: [PATCH] lightnvm: change rrpc slab creation/destruction time Wenwei Tao <ww.tao0320@gmail.com> - 2015-12-08 12:40 +0100
    Re: [PATCH] lightnvm: change rrpc slab creation/destruction time Matias Bjørling <m@bjorling.me> - 2015-12-08 14:30 +0100

csiph-web