[Devel] Re: [PATCH v7 0/8] Request for inclusion: tcp memory buffers
Andi Kleen
andi at firstfloor.org
Thu Oct 13 19:12:29 PDT 2011
David Miller <davem at davemloft.net> writes:
>
> Make this evaluate into exactly the same exact code stream we have
> now when the memory cgroup feature is not in use, which will be the
> majority of users.
One possible way may be to guard it with static_branch() for
no limit per cgroup set. That should be as near as practically
possible to the original code.
BTW the thing that usually worries me more is the cache line behaviour
when the feature is in use. In the past some of the namespace patches
have created some extremly hot global cache lines, that hurt on larger
systems (for example the Unix socket regression from uid namespaces that
is still not completly fixed). It would be good to double check that all
important state is distributed properly.
-Andi
--
ak at linux.intel.com -- Speaking for myself only
More information about the Devel
mailing list