Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Kefeng Wang
On 2017/2/13 21:32, Peter Zijlstra wrote: > On Mon, Feb 13, 2017 at 09:07:02PM +0800, Kefeng Wang wrote: >> Hi Peter >> >> +Tejun >> >> On 2017/2/13 20:06, Peter Zijlstra wrote: >>> On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: The commit a6e4491c682a ("sched/isolcpus: Output

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Peter Zijlstra
On Mon, Feb 13, 2017 at 09:07:02PM +0800, Kefeng Wang wrote: > Hi Peter > > +Tejun > > On 2017/2/13 20:06, Peter Zijlstra wrote: > > On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: > >> The commit a6e4491c682a ("sched/isolcpus: Output warning when the > >> 'isolcpus=' kernel paramete

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Kefeng Wang
Hi Peter +Tejun On 2017/2/13 20:06, Peter Zijlstra wrote: > On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: >> The commit a6e4491c682a ("sched/isolcpus: Output warning when the >> 'isolcpus=' kernel parameter is invalid") adds an error message >> when specified cpu bigger than nr_cpu

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Peter Zijlstra
On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: > The commit a6e4491c682a ("sched/isolcpus: Output warning when the > 'isolcpus=' kernel parameter is invalid") adds an error message > when specified cpu bigger than nr_cpu_ids, but nr_cpumask_bits in > cpulist_parse() could be nr_cpu_id

[PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Kefeng Wang
The commit a6e4491c682a ("sched/isolcpus: Output warning when the 'isolcpus=' kernel parameter is invalid") adds an error message when specified cpu bigger than nr_cpu_ids, but nr_cpumask_bits in cpulist_parse() could be nr_cpu_ids or NR_CPUS. eg, NR_CPUS=64, nr_cpu_ids=8 in ARM64, cpulist_parse()