[Devel] Re: [PATCH v7 0/8] Request for inclusion: tcp memory buffers

David Miller davem at davemloft.net
Thu Oct 13 13:00:31 PDT 2011


From: Glauber Costa <glommer at parallels.com>
Date: Thu, 13 Oct 2011 17:09:34 +0400

> This series was extensively reviewed over the past month, and after
> all major comments were merged, I feel it is ready for inclusion when
> the next merge window opens. Minor fixes will be provided if they
> prove to be necessary.

I'm not applying this.

You're turning inline increments and decrements of the existing memory
limits into indirect function calls.

That imposes a new non-trivial cost, in fast paths, even when people
do not use your feature.

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.




More information about the Devel mailing list