From: "Matias Bjørling" <m@bjorling.me>
To: "Wenwei Tao" <ww.tao0320@gmail.com>, "Matias Bjørling" <mb@lightnvm.io>
Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: [PATCH] lightnvm: change rrpc slab creation/destruction time
Date: Tue, 8 Dec 2015 14:26:18 +0100 [thread overview]
Message-ID: <5666DA7A.3020100@bjorling.me> (raw)
In-Reply-To: <CACygaLACTORD53caxZXU8xZQxki-374BFPxCaMg=qFX1bH8RaA@mail.gmail.com>
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 :)
prev parent reply other threads:[~2015-12-08 13:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 12:16 [PATCH] lightnvm: change rrpc slab creation/destruction time Wenwei Tao
[not found] ` <CAOA7RkMEv6L7EGjcdQmTu-4vRNDDCXdnE9U_Hk4oLVch1yYf=g@mail.gmail.com>
2015-12-08 11:36 ` Wenwei Tao
2015-12-08 13:26 ` Matias Bjørling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5666DA7A.3020100@bjorling.me \
--to=m@bjorling.me \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mb@lightnvm.io \
--cc=ww.tao0320@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.