public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Shailabh Nagar <nagar@watson.ibm.com>
Cc: linux-kernel@vger.kernel.org, lse-tech@lists.sourceforge.net
Subject: Re: [RFC][Patch 0/4] Per-task delay accounting
Date: Mon, 14 Nov 2005 20:17:41 -0800	[thread overview]
Message-ID: <20051114201741.3d5496b3.akpm@osdl.org> (raw)
In-Reply-To: <4379658E.1020707@watson.ibm.com>

Shailabh Nagar <nagar@watson.ibm.com> wrote:
>
> They are made available through a connector interface which allows
>  - stats for a given <pid> to be obtained in response to a command
>  which specifies the <pid>. The need for dynamically obtaining delay
>  stats is the reason why piggybacking delay stats onto BSD process
>  accounting wasn't considered.

I think this is the first time that anyone has come out with real code
which does per-task accounting via connector.

Which makes one wonder where this will end up.  If numerous different
people add numerous different accounting messages, presumably via different
connector channels then it may all end up a bit of a mess.  Given the way
kernel development happens, that's pretty likely.

For example, should the next developer create a new message type, or should
he tack his desired fields onto the back of yours?  If the former, we'll
end up with quite a lot of semi-duplicated code and a lot more messages and
resources than we strictly need.  If the latter, then perhaps the
versioning you have in there will suffice - I'm not sure.

I wonder if at this stage we should take a shot at some overarching "how do
do per-task accounting messages over connector" design which can at least
incorporate the various things which people have been talking about
recently?

  reply	other threads:[~2005-11-15  4:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15  4:35 [RFC][Patch 0/4] Per-task delay accounting Shailabh Nagar
2005-11-15  4:17 ` Andrew Morton [this message]
2005-11-15  7:05   ` Marcelo Tosatti
2005-11-15 16:10   ` Shailabh Nagar

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=20051114201741.3d5496b3.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=nagar@watson.ibm.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