[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGAVQTG_jUi3PffWQHc9jR6wA9gsEUXMMvb4LiimbpUZaxdGcw@mail.gmail.com>
Date: Tue, 13 Mar 2012 11:30:46 -0500
From: C Anthony Risinger <anthony@...x.me>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: Tejun Heo <tj@...nel.org>, Michal Schmidt <mschmidt@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
containers@...ts.linux-foundation.org,
Kay Sievers <kay.sievers@...y.org>,
linux-kernel@...r.kernel.org,
Lennart Poettering <lennart@...ttering.net>,
cgroups@...r.kernel.org, Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [RFD] cgroup: about multiple hierarchies
On Tue, Mar 13, 2012 at 11:11 AM, C Anthony Risinger <anthony@...x.me> wrote:
>
> # what controllers are available for this process?
> $ cat /proc/self/tags/TYPE
^^^^^ should list of controllers either assigned to TYPE or not masked by MASK
> # explicit assign `users` 50 shares
> $ echo 50 > /proc/self/tags/admin.cpuacct.cpu.shares
^^^^^ s,admin,users,
> # `name`'s priority relative to sibling `name` groups (like shares)
> $ echo 100 > /proc/self/tags/admin.cpuacct.cpu.PRIORITY
^^^^^ maybe redundant, my original reasoning for it escapes me, but
could be useful for controllers that accept multiple `name`s
--
C Anthony
--
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