Re: [PATCH v3 09/16] sl[au]b: always get the cache from its page in kfree
From: Tejun Heo <tj@kernel.org>
Date: 2012-09-21 20:16:09
Also in:
linux-mm, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2012-09-21 20:16:09
Also in:
linux-mm, lkml
On Fri, Sep 21, 2012 at 11:14:45PM +0300, Pekka Enberg wrote:
On Fri, Sep 21, 2012 at 11:07 PM, Tejun Heo [off-list ref] wrote:quoted
Not necessarily disagreeing, but I don't think it's helpful to set the bar impossibly high. Even static_key doesn't have "exactly *zero*" impact. Let's stick to as minimal as possible when not in use and reasonable in use.For !CONFIG_MEMCG_KMEM, it should be exactly zero. No need to play games with static_key.
Ah, misread, though you were talking about MEMCG_KMEM && not in use. Yeap, if turned off in Kconfig, it shouldn't have any performance overhead. Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>