Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-03 Thread Zefan Li
On 2015/3/2 17:12, Peter Zijlstra wrote: > 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 d

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Mike Galbraith
On Mon, 2015-03-02 at 11:09 -0500, Tejun Heo wrote: > On Mon, Mar 02, 2015 at 05:02:57PM +0100, Mike Galbraith wrote: > > Well, those are the only ones we can do anything about. Dirt simple > > diddling of the workqueue default mask as sched domains are > > added/removed should do it I think. Aut

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Tejun Heo
On Mon, Mar 02, 2015 at 12:01:16PM -0500, Tejun Heo wrote: > Applied 1-2 to cgroup/for-4.1. Reverted due to build failure. Looks like UP build is broken. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Tejun Heo
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 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 > i

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Tejun Heo
On Mon, Mar 02, 2015 at 05:02:57PM +0100, Mike Galbraith wrote: > Well, those are the only ones we can do anything about. Dirt simple > diddling of the workqueue default mask as sched domains are > added/removed should do it I think. Automatically moving any existing > unbound worker away from is

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Mike Galbraith
On Mon, 2015-03-02 at 10:29 -0500, Tejun Heo wrote: > On Mon, Mar 02, 2015 at 01:44:50PM +0100, Mike Galbraith wrote: > > Hm, I'm now all system-disease-ified now (still hate the bloody thing), > > and have no problem isolating cpus via cpusets, modulo workqueues > > wanting a bat upside the head.

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Tejun Heo
On Mon, Mar 02, 2015 at 01:44:50PM +0100, Mike Galbraith wrote: > Hm, I'm now all system-disease-ified now (still hate the bloody thing), > and have no problem isolating cpus via cpusets, modulo workqueues > wanting a bat upside the head. It shouldn't be difficult to teach workqueue pools to follo

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Mike Galbraith
On Mon, 2015-03-02 at 09:35 -0500, Rik van Riel wrote: > On 03/02/2015 07:44 AM, Mike Galbraith wrote: > > On Mon, 2015-03-02 at 10:09 +0100, Peter Zijlstra wrote: > >> On Thu, Feb 26, 2015 at 12:12:31PM -0500, Rik van Riel wrote: > >>> Subject: cpusets,isolcpus: add file to show isolated cpus in c

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Rik van Riel
On 03/02/2015 07:44 AM, Mike Galbraith wrote: > On Mon, 2015-03-02 at 10:09 +0100, Peter Zijlstra wrote: >> On Thu, Feb 26, 2015 at 12:12:31PM -0500, Rik van Riel wrote: >>> Subject: cpusets,isolcpus: add file to show isolated cpus in cpuset >>> >>> The previous patch makes it so the code skips ove

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Mike Galbraith
On Mon, 2015-03-02 at 10:09 +0100, Peter Zijlstra wrote: > On Thu, Feb 26, 2015 at 12:12:31PM -0500, Rik van Riel wrote: > > 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 bala

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Peter Zijlstra
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

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-02 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 12:12:31PM -0500, Rik van Riel wrote: > 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

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-01 Thread Zefan Li
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 balancin

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-02-27 Thread Zefan Li
> 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 wh