On Thu, Feb 26, 2015 at 12:12:31PM -0500, Rik van Riel wrote: > On Thu, 26 Feb 2015 19:05:57 +0800 > Zefan Li <lize...@huawei.com> wrote: > > > Make it return -ENOMEM ? Or make it a global variable and allocate memory > > for it > > in cpuset_init(). > > Here you are. This addresses your concern, as well as the > issue David Rientjes found earlier. > > ---8<--- > > 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. > > Acked-by: David Rientjes <rient...@google.com> > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Clark Williams <willi...@redhat.com> > Cc: Li Zefan <lize...@huawei.com> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Luiz Capitulino <lcapitul...@redhat.com> > Cc: David Rientjes <rient...@google.com> > Cc: Mike Galbraith <umgwanakikb...@gmail.com> > Cc: cgro...@vger.kernel.org > Signed-off-by: Rik van Riel <r...@redhat.com>
Applied 1-2 to cgroup/for-4.1. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/