Re: [PATCH v2 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-18 Thread Vladimir Davydov
On Fri, Dec 18, 2015 at 11:51:23AM +0900, Kamezawa Hiroyuki wrote: ... > Could you give here a hint how to calculate amount of swapcache, > counted both in memory.current and swap.current ? Currently it's impossible, but once memory.stat has settled in the unified hierarchy, it might be worth addi

Re: [PATCH v2 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-17 Thread Kamezawa Hiroyuki
On 2015/12/17 21:30, Vladimir Davydov wrote: > The rationale of separate swap counter is given by Johannes Weiner. > > Signed-off-by: Vladimir Davydov > --- > Changes in v2: > - Add rationale of separate swap counter provided by Johannes. > > Documentation/cgroup.txt | 33 +++

Re: [PATCH v2 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-17 Thread Johannes Weiner
On Thu, Dec 17, 2015 at 03:30:00PM +0300, Vladimir Davydov wrote: > The rationale of separate swap counter is given by Johannes Weiner. > > Signed-off-by: Vladimir Davydov Acked-by: Johannes Weiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

[PATCH v2 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-17 Thread Vladimir Davydov
The rationale of separate swap counter is given by Johannes Weiner. Signed-off-by: Vladimir Davydov --- Changes in v2: - Add rationale of separate swap counter provided by Johannes. Documentation/cgroup.txt | 33 + 1 file changed, 33 insertions(+) diff --git a/