[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804032055590.8157@blonde.site>
Date: Thu, 3 Apr 2008 21:22:10 +0100 (BST)
From: Hugh Dickins <hugh@...itas.com>
To: Balbir Singh <balbir@...ux.vnet.ibm.com>
cc: Paul Menage <menage@...gle.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Pavel Emelyanov <xemul@...nvz.org>,
Sudhir Kumar <skumar@...ux.vnet.ibm.com>,
Li Zefan <lizf@...fujitsu.com>,
David Rientjes <rientjes@...gle.com>,
YAMAMOTO Takashi <yamamoto@...inux.co.jp>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: cgroup_disable=memory for 2.6.25?
Hi Balbir,
I'm rather surprised that nobody has pushed -mm's
cgroups-add-cgroup-support-for-enabling-controllers-at-boot-time.patch
cgroups-add-cgroup-support-for-enabling-controllers-at-boot-time-fix-boot-option-parsing.patch
memory-controller-make-memory-resource-control-aware-of-boot-options.patch
into 2.6.25: which was what I'd expected when I first suggested that
distros might want a way to build with the potential for mem cgroups,
but be able to switch off their significant overhead for everyone not
interested.
Ballpark figures, I'm trying to get this question out rather than
processing the exact numbers: CONFIG_CGROUP_MEM_RES_CTLR adds 15%
overhead to the affected paths, booting with cgroup_disable=memory
cuts that back to 1% overhead (due to slightly bigger struct page).
I'm no expert on distros, they may have no interest whatever in
CONFIG_CGROUP_MEM_RES_CTLR=y; and the rest of us can easily build
with or without it, or apply the cgroup_disable=memory patches.
But if those patches serve a purpose, shouldn't they be in 2.6.25?
Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists