public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Dan Malek <dan@embeddedalley.com>
Cc: Linux Containers Mailing List 
	<containers@lists.linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Paul Menage <menage@google.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Vladislav Buzov <vbuzov@embeddedalley.com>
Subject: Re: [PATCH 1/1] Memory usage limit notification addition to memcg
Date: Fri, 17 Jul 2009 08:03:36 +0530	[thread overview]
Message-ID: <20090717023336.GF3576@balbir.in.ibm.com> (raw)
In-Reply-To: <FE89F36E-EB7E-4F11-887C-5371887C7D68@embeddedalley.com>

* Dan Malek <dan@embeddedalley.com> [2009-07-16 11:16:29]:

> 
> On Jul 16, 2009, at 10:15 AM, Balbir Singh wrote:
> 
> > Dan, if you are suggesting that we incrementally add features, I
> > completely agree with you, that way the code is reviewable and
> > maintainable. As we add features we need to
> 
> Right, this is all goodness.  My specific comments are this patch
> adds a new useful feature and it's been through a couple of iterations
> to make it more acceptable.  Let's post it, as it makes people aware
> of such a feature since it's currently in use and useful, and then
> continue the discussion about how to make it (and all of the cgroup
> features) better.  Otherwise, this is going to degenerate into a "do
> everything but nothing gets done" ongoing discussion and I'll
> quickly lose interest and move on the something else :-)
> 
> There are currently two discussions in progress.  One is about
> notification limits, which this feature patch adds.  We need to
> close this discussion with a more feature rich implementation
> that addresses both upper and lower notification, the semantics
> of this feature in a cgroup hierarchy, and in particular the
> behavior outside of the memory controller group.
> 
> The second discussion is about event delivery in cgroups.
> Linux already has many mechanisms, and some product
> implementations patch even more of their own into the kernel.
> Outside of these implementation details, we have to determine
> what is useful for a cgroup.  Are events just arbitrary (anything
> can send any kind of event)?  How do we pass  information?
> Is there some standard header?  How do we control this so
> the event target is identified and we prevent event floods?
> And many more.....
>

I think you keep missing my pointers to cgroupstats - a genetlink
based mechanism for event delivery and request/response applications.

 
> > 1. Look at reuse
> > 2. Make sure the design is sane and will not prohibit further
> > development.
> 
> 3. Contain the scope of work so I can do it without affecting
>      the work that pays my salary :-)
>

Not at the cost of (1) and (2) and a patient discussion around what is
being proposed. 

-- 
	Balbir

  reply	other threads:[~2009-07-17  2:33 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13 22:08 [PATCH] Memory usage limit notification addition to memcg Dan Malek
2009-04-13 23:08 ` Andrew Morton
2009-04-13 23:45   ` Dan Malek
2009-04-13 23:54     ` Andrew Morton
2009-04-14  0:52       ` Dan Malek
2009-04-15  0:35 ` KAMEZAWA Hiroyuki
2009-04-15  2:34   ` Dan Malek
2009-04-15  2:58     ` KAMEZAWA Hiroyuki
2009-04-15  7:32       ` Dan Malek
2009-04-15  7:33         ` KAMEZAWA Hiroyuki
2009-04-15  8:24   ` Balbir Singh
2009-04-15 17:35     ` Dan Malek
2009-04-16  3:15       ` Balbir Singh
2009-07-07 20:25 ` [PATCH 0/1] " Vladislav Buzov
2009-07-07 20:25   ` [PATCH 1/1] " Vladislav Buzov
2009-07-08  0:56     ` KAMEZAWA Hiroyuki
2009-07-09  1:43       ` Vladislav D. Buzov
2009-07-13  0:52         ` KAMEZAWA Hiroyuki
2009-07-13 21:21           ` Vladislav D. Buzov
2009-07-13 22:15       ` Paul Menage
2009-07-14  1:00         ` Vladislav D. Buzov
2009-07-14  1:03           ` KAMEZAWA Hiroyuki
2009-07-14  1:43         ` KOSAKI Motohiro
2009-07-14 19:13           ` Dan Malek
2009-07-16 17:15             ` Balbir Singh
2009-07-16 18:16               ` Dan Malek
2009-07-17  2:33                 ` Balbir Singh [this message]
2009-07-15  6:02         ` Balbir Singh
2009-07-08  3:52     ` Balbir Singh
2009-07-10 18:01       ` Vladislav D. Buzov
2009-07-14  0:16   ` [PATCH 0/2] Memory usage limit notification feature (v3) Vladislav Buzov
2009-07-14  0:16     ` [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3) Vladislav Buzov
2009-07-14  0:16       ` [PATCH 2/2] Memory usage limit notification addition to memcg (v3) Vladislav Buzov
2009-07-14  0:30       ` [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3) KAMEZAWA Hiroyuki
2009-07-14  1:29         ` Vladislav D. Buzov
2009-07-14  1:45           ` KAMEZAWA Hiroyuki
2009-07-14  0:36       ` Paul Menage
2009-07-14  0:47         ` KAMEZAWA Hiroyuki
2009-07-14  0:20     ` [PATCH 0/2] Memory usage limit notification feature (v3) Paul Menage
2009-07-14  0:31       ` KOSAKI Motohiro

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=20090717023336.GF3576@balbir.in.ibm.com \
    --to=balbir@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=containers@lists.linux-foundation.org \
    --cc=dan@embeddedalley.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    --cc=vbuzov@embeddedalley.com \
    /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