linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cgroup_disable=memory for 2.6.25?
@ 2008-04-03 20:22 Hugh Dickins
  2008-04-03 20:27 ` Balbir Singh
  0 siblings, 1 reply; 5+ messages in thread
From: Hugh Dickins @ 2008-04-03 20:22 UTC (permalink / raw)
  To: Balbir Singh
  Cc: Paul Menage, KAMEZAWA Hiroyuki, Pavel Emelyanov, Sudhir Kumar,
	Li Zefan, David Rientjes, YAMAMOTO Takashi, Andrew Morton,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-04  3:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 20:22 cgroup_disable=memory for 2.6.25? Hugh Dickins
2008-04-03 20:27 ` Balbir Singh
2008-04-03 20:41   ` Andrew Morton
2008-04-04  1:18     ` KAMEZAWA Hiroyuki
2008-04-04  3:14     ` Balbir Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).