From: Li Zefan <lizf@cn.fujitsu.com>
To: Paul Menage <menage@google.com>
Cc: akpm@linux-foundation.org, containers@lists.linux-foundation.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Update documentation of cgroups tasks and procs files
Date: Thu, 24 Sep 2009 08:43:19 +0800 [thread overview]
Message-ID: <4ABAC0A7.3050307@cn.fujitsu.com> (raw)
In-Reply-To: <20090924001249.4783.91619.stgit@menage.mtv.corp.google.com>
Paul Menage wrote:
> Update documentation of cgroups tasks and procs files
>
> Document the cgroup.procs file.
>
> Clarify the semantics of the cgroup.procs and tasks files. Although
> the current cgroup.procs interface returns a sorted and uniqified list
> of pids, potential future performance enhancements could result in
> those properties being removed - explicitly document this aspect of
> the API.
>
> There are no existing users of cgroup.procs, so compatibility isn't an
> issue. There are users of the "tasks" file, but none that would
> appear to break in the event of the sorted property being broken. The
> standard "libcpuset" explicitly sorts the results of reading from the
> tasks file, and "libcg" and other users don't appear to care about
> ordering.
>
> Signed-off-by: Paul Menage <menage@google.com>
>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
prev parent reply other threads:[~2009-09-24 0:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 0:12 [PATCH] Update documentation of cgroups tasks and procs files Paul Menage
2009-09-24 0:43 ` Li Zefan [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=4ABAC0A7.3050307@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.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