[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ABAC0A7.3050307@cn.fujitsu.com>
Date: Thu, 24 Sep 2009 08:43:19 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Paul Menage <menage@...gle.com>
CC: akpm@...ux-foundation.org, containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Update documentation of cgroups tasks and procs files
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@...gle.com>
>
Reviewed-by: Li Zefan <lizf@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists