[PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

David Rientjes rientjes at google.com
Tue Oct 5 11:31:57 PDT 2010


On Tue, 5 Oct 2010, Andrea Righi wrote:

> mmh... looking at the code it seems the same behaviour, but in
> Documentation/sysctl/vm.txt we say a different thing (i.e., for
> dirty_bytes):
> 
> "If dirty_bytes is written, dirty_ratio becomes a function of its value
> (dirty_bytes / the amount of dirtyable system memory)."
> 
> However, in dirty_bytes_handler()/dirty_ratio_handler() we actually set
> the counterpart value as 0.
> 
> I think we should clarify the documentation.
> 
> Signed-off-by: Andrea Righi <arighi at develer.com>

Acked-by: David Rientjes <rientjes at google.com>

Thanks for cc'ing me on this, Andrea.


More information about the Containers mailing list