LWN.net Logo

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

From:  David Miller <davem-AT-davemloft.net>
To:  glommer-AT-parallels.com
Subject:  Re: [PATCH v7 0/8] Request for inclusion: tcp memory buffers
Date:  Thu, 13 Oct 2011 16:00:31 -0400 (EDT)
Message-ID:  <20111013.160031.605700447623532119.davem@davemloft.net>
Cc:  linux-kernel-AT-vger.kernel.org, akpm-AT-linux-foundation.org, lizf-AT-cn.fujitsu.com, kamezawa.hiroyu-AT-jp.fujitsu.com, ebiederm-AT-xmission.com, paul-AT-paulmenage.org, gthelen-AT-google.com, netdev-AT-vger.kernel.org, linux-mm-AT-kvack.org, kirill-AT-shutemov.name, avagin-AT-parallels.com, devel-AT-openvz.org
Archive-link:  Article, Thread

From: Glauber Costa <glommer@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.

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>



(Log in to post comments)

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds