public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Add the max_usage member on the res_counter
Date: Tue, 11 Mar 2008 21:40:34 -0700	[thread overview]
Message-ID: <20080311214034.d2cae354.akpm@linux-foundation.org> (raw)
In-Reply-To: <47D69D72.5040304@openvz.org>

On Tue, 11 Mar 2008 17:55:46 +0300 Pavel Emelyanov <xemul@openvz.org> wrote:

> This field is the maximal value of the usage one since the counter
> creation (or since the latest reset).
> 
> To reset this to the usage value simply write anything to the
> appropriate cgroup file.

What is the justification for making this change?  Why do we need it? 
Please provide this information for all patches where it is not obvious.

>  	{
> +		.name = "max_usage_in_bytes",
> +		.private = RES_MAX_USAGE,
> +		.write = mem_cgroup_max_reset,
> +		.read_u64 = mem_cgroup_read,
> +	},

Documentation/controllers/memory.txt needs updating.

  reply	other threads:[~2008-03-12  4:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 14:55 [PATCH] Add the max_usage member on the res_counter Pavel Emelyanov
2008-03-12  4:40 ` Andrew Morton [this message]
2008-03-12  9:04   ` Pavel Emelyanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080311214034.d2cae354.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xemul@openvz.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox