public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Evgeniy Polyakov <zbr@ioremap.net>
Subject: Re: [PATCH] connector: add comm change event report to proc connector
Date: Fri, 26 Aug 2011 14:13:34 -0700	[thread overview]
Message-ID: <20110826141334.bc2b5da6.akpm@linux-foundation.org> (raw)
In-Reply-To: <1312310811-17327-1-git-send-email-vzapolskiy@gmail.com>

On Tue,  2 Aug 2011 21:46:51 +0300
Vladimir Zapolskiy <vzapolskiy@gmail.com> wrote:

> This change adds an event to monitor comm value changes of tasks. Such
> an event becomes vital, if someone desires to control threads of a
> process in different manner.
> 
> A natural characteristic of threads is its comm value, and helpfully
> application developers have an opportunity to change it in runtime.
> Reporting about such events via proc connector allows to fine-grain
> monitoring and control potentials, for instance a process control
> daemon listening to proc connector and following comm value policies
> can place specific threads to assigned cgroup partitions.
> 
> It might be possible to achieve a pale partial one-shot likeness
> without this update, if an application changes comm value of a thread
> generator task beforehand, then a new thread is cloned, and after
> that proc connector listener gets the fork event and reads new
> thread's comm value from procfs stat file, but this change visibly
> simplifies and extends the matter.

Monotoring and controlling tasks via their comm value seems weird,
inefficient and unreliable.  Who is doing this, and why?


      parent reply	other threads:[~2011-08-26 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 18:46 [PATCH] connector: add comm change event report to proc connector Vladimir Zapolskiy
2011-08-03 21:12 ` Evgeniy Polyakov
2011-08-05 12:16   ` Vladimir Zapolskiy
2011-08-06  1:49     ` Andrew Morton
2011-08-26 21:13 ` Andrew Morton [this message]

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=20110826141334.bc2b5da6.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vzapolskiy@gmail.com \
    --cc=zbr@ioremap.net \
    /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