[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150302091213.GI21418@twins.programming.kicks-ass.net>
Date: Mon, 2 Mar 2015 10:12:13 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Zefan Li <lizefan@...wei.com>
Cc: Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org,
Clark Williams <williams@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
Luiz Capitulino <lcapitulino@...hat.com>,
David Rientjes <rientjes@...gle.com>,
Mike Galbraith <umgwanakikbuti@...il.com>,
cgroups@...r.kernel.org
Subject: Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus
in cpuset
On Mon, Mar 02, 2015 at 02:15:39PM +0800, Zefan Li wrote:
> Hi Rik,
>
> > Subject: cpusets,isolcpus: add file to show isolated cpus in cpuset
> >
> > The previous patch makes it so the code skips over isolcpus when
> > building scheduler load balancing domains. This makes it hard to
> > see for a user which of the CPUs in a cpuset are participating in
> > load balancing, and which ones are isolated cpus.
> >
> > Add a cpuset.isolcpus file with info on which cpus in a cpuset are
> > isolated CPUs.
> >
> > This file is read-only for now. In the future we could extend things
> > so isolcpus can be changed at run time, for the root (system wide)
> > cpuset only.
> >
>
> One Question, why not add a /sys/devices/system/cpu/isolated instead?
It would leave userspace to calculate the result for any one cpuset
itself. Furthermore, is that /sys thing visible for all nested
containers?
--
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