[PATCH v9 07/13] memcg: add cgroupfs interface to memcg dirty limits

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Wed Aug 17 17:55:41 PDT 2011


On Wed, 17 Aug 2011 09:14:59 -0700
Greg Thelen <gthelen at google.com> wrote:

> Add cgroupfs interface to memcg dirty page limits:
>   Direct write-out is controlled with:
>   - memory.dirty_ratio
>   - memory.dirty_limit_in_bytes
> 
>   Background write-out is controlled with:
>   - memory.dirty_background_ratio
>   - memory.dirty_background_limit_bytes
> 
> Other memcg cgroupfs files support 'M', 'm', 'k', 'K', 'g'
> and 'G' suffixes for byte counts.  This patch provides the
> same functionality for memory.dirty_limit_in_bytes and
> memory.dirty_background_limit_bytes.
> 
> Signed-off-by: Andrea Righi <andrea at betterlinux.com>
> Signed-off-by: Balbir Singh <balbir at linux.vnet.ibm.com>
> Signed-off-by: Greg Thelen <gthelen at google.com>

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>



More information about the Containers mailing list