Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-17 Thread Johannes Weiner
On Fri, Aug 07, 2015 at 08:17:23PM +0200, Michal Hocko wrote: > On Thu 06-08-15 11:30:08, KAMEZAWA Hiroyuki wrote: > > - *.oom_control - for surviving/notifiyng out of memory > > memcg's oom can be recovered if limit goes up > > rather than kill. > > I think it is ve

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-17 Thread Johannes Weiner
On Tue, Aug 04, 2015 at 03:31:01PM -0400, Tejun Heo wrote: > From 6abc8ca19df0078de17dc38340db3002ed489ce7 Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Tue, 4 Aug 2015 15:20:55 -0400 > > Traditionally, each cgroup controller implemented whatever interface > it wanted leading to interfaces w

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-07 Thread Michal Hocko
On Thu 06-08-15 11:30:08, KAMEZAWA Hiroyuki wrote: [...] > Sure. I think following has users. > - *.stat - for chekcing health of cgroup ,or for debug Yes but we want to have something which is closer to meminfo/vmstat IMO > - *.pressure_level - for notifying memory pressure Noti

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-05 Thread Kamezawa Hiroyuki
On 2015/08/05 16:47, Michal Hocko wrote: On Wed 05-08-15 09:39:40, KAMEZAWA Hiroyuki wrote: [...] so, for memory controller, we'll have We currently have only current, low, high, max and events currently. All other knobs are either deprecated or waiting for a usecase to emerge before they get

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-05 Thread Michal Hocko
On Wed 05-08-15 09:39:40, KAMEZAWA Hiroyuki wrote: [...] > so, for memory controller, we'll have We currently have only current, low, high, max and events currently. All other knobs are either deprecated or waiting for a usecase to emerge before they get added. > (in alphabet order) > memory.fail

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-04 Thread Kamezawa Hiroyuki
On 2015/08/05 4:31, Tejun Heo wrote: From 6abc8ca19df0078de17dc38340db3002ed489ce7 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 4 Aug 2015 15:20:55 -0400 Traditionally, each cgroup controller implemented whatever interface it wanted leading to interfaces which are widely inconsistent. E

[PATCH v2 1/3] cgroup: define controller file conventions

2015-08-04 Thread Tejun Heo
>From 6abc8ca19df0078de17dc38340db3002ed489ce7 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 4 Aug 2015 15:20:55 -0400 Traditionally, each cgroup controller implemented whatever interface it wanted leading to interfaces which are widely inconsistent. Examining the requirements of the contro