lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080421194023.c8d9733d.kamezawa.hiroyu@jp.fujitsu.com>
Date:	Mon, 21 Apr 2008 19:40:23 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	balbir@...ux.vnet.ibm.com
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>, hugh@...itas.com,
	menage@...gle.com, xemul@...nvz.org, shiwh@...fujitsu.com,
	mel@....ul.ie, linux-kernel@...r.kernel.org
Subject: Re: -mm merge plans for 2.6.26 (memcgroup)

On Mon, 21 Apr 2008 15:51:21 +0530
Balbir Singh <balbir@...ux.vnet.ibm.com> wrote:

> >> This would enable the memory controller by default, it can be disabled
> >> using cgroup_disable=memory at boot time.
> > 
> > how about working on a runtime switch that only enables the whole
> > memcgroup machinery when an actual cgroup gets created - and disable it
> > again once the last cgroup goes.
> > 
> 
> Sounds like an interesting option to explore. I'll explore that a bit more.
> 
Maybe force_empty() will be a help for disabling ;)

- stop accountig new pages.
- calling force_empty if there are no childs.

problem is enabling.

A problem will be that we cannot account page-cache again because
it's on radix-tree when cgroup is re-enabled.


Thanks,
-Kame

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ