[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101029131952.1191023d.akpm@linux-foundation.org>
Date: Fri, 29 Oct 2010 13:19:52 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Greg Thelen <gthelen@...gle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
containers@...ts.osdl.org, Andrea Righi <arighi@...eler.com>,
Balbir Singh <balbir@...ux.vnet.ibm.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Daisuke Nishimura <nishimura@....nes.nec.co.jp>,
Minchan Kim <minchan.kim@...il.com>,
Ciju Rajan K <ciju@...ux.vnet.ibm.com>,
David Rientjes <rientjes@...gle.com>,
Wu Fengguang <fengguang.wu@...el.com>
Subject: Re: [PATCH v4 02/11] memcg: document cgroup dirty memory interfaces
On Fri, 29 Oct 2010 00:09:05 -0700
Greg Thelen <gthelen@...gle.com> wrote:
> Document cgroup dirty memory interfaces and statistics.
>
>
> ...
>
> +When use_hierarchy=0, each cgroup has dirty memory usage and limits.
> +System-wide dirty limits are also consulted. Dirty memory consumption is
> +checked against both system-wide and per-cgroup dirty limits.
> +
> +The current implementation does enforce per-cgroup dirty limits when
"does not", I trust.
> +use_hierarchy=1. System-wide dirty limits are used for processes in such
> +cgroups. Attempts to read memory.dirty_* files return the system-wide values.
> +Writes to the memory.dirty_* files return error. An enhanced implementation is
> +needed to check the chain of parents to ensure that no dirty limit is exceeded.
> +
> 6. Hierarchy support
>
> The memory controller supports a deep hierarchy and hierarchical accounting.
> --
> 1.7.3.1
--
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