Re: [PATCH v3 09/16] sl[au]b: always get the cache from its page in kfree

From: Pekka Enberg
Date: Fri Sep 21 2012 - 16:14:40 EST


On Fri, Sep 21, 2012 at 11:07 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/