[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5666DA7A.3020100@bjorling.me>
Date: Tue, 8 Dec 2015 14:26:18 +0100
From: Matias Bjørling <m@...rling.me>
To: Wenwei Tao <ww.tao0320@...il.com>,
Matias Bjørling <mb@...htnvm.io>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org
Subject: Re: [PATCH] lightnvm: change rrpc slab creation/destruction time
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists