Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-06-04 Thread Chris Metcalf
On 05/01/2015 05:23 PM, Frederic Weisbecker wrote: On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: On 05/01/2015 04:53 AM, Frederic Weisbecker wrote: + /* Unpark any threads that were voluntarily parked. */ + for_each_cpu_not(cpu, &ht->cpumask) { + if (c

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-06-02 Thread Don Zickus
On Mon, May 04, 2015 at 06:06:24PM -0400, Chris Metcalf wrote: > On 5/1/2015 5:23 PM, Frederic Weisbecker wrote: > >On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: > > > >>For example, booting with only cpu 0 as a housekeeping core (and > >>therefore all watchdogs 1-35 on my 36-core

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-05-04 Thread Chris Metcalf
On 5/1/2015 5:23 PM, Frederic Weisbecker wrote: On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: For example, booting with only cpu 0 as a housekeeping core (and therefore all watchdogs 1-35 on my 36-core tilegx are parked), and immediately doing "echo 0 > /proc/sys/kernel/watchdo

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-05-01 Thread Frederic Weisbecker
On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: > On 05/01/2015 04:53 AM, Frederic Weisbecker wrote: > >>+ /* Unpark any threads that were voluntarily parked. */ > >>+ for_each_cpu_not(cpu, &ht->cpumask) { > >>+ if (cpu_online(cpu)) { > >>+ struct task

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-05-01 Thread Chris Metcalf
On 05/01/2015 04:53 AM, Frederic Weisbecker wrote: On Thu, Apr 30, 2015 at 03:39:24PM -0400, Chris Metcalf wrote: This change allows some cores to be excluded from running the smp_hotplug_thread tasks. The following commit to update kernel/watchdog.c to use this functionality is the motivating

Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-05-01 Thread Frederic Weisbecker
On Thu, Apr 30, 2015 at 03:39:24PM -0400, Chris Metcalf wrote: > This change allows some cores to be excluded from running the > smp_hotplug_thread tasks. The following commit to update > kernel/watchdog.c to use this functionality is the motivating > example, and more information on the motivatio