Re: [PATCH v5 2/2] watchdog: add watchdog_exclude sysctl to assist nohz

Chris Metcalf
2015-04-08T19:21:27Z

On 04/08/2015 10:01 AM, Frederic Weisbecker wrote:
> How about creating smpboot_update_mask_percpu_thread() and handle it from smpboot,
> this way future evolutions of smpboot won't overlook this cpumask live change?

It seemed like your proposed approach was actually a bit heavier-weight
from the perspective of generic smp_hotplug_thread, so instead I just
modified the proposed API to have a simple "valid_cpu()" callback,
which I think is clear and won't be damaged by smpboot evolution.
Let me know what you think.

--
Chris Metcalf, EZChip Semiconductor