Re: CPU Hotplugging disabled, still cpuhp/%d threads running in my 32-bit system

From: Thomas Gleixner
Date: Wed Jan 11 2017 - 04:16:18 EST


On Tue, 10 Jan 2017, Enrico Mioso wrote:

> Hello guys.
> I disabled CPU hotplugging in my .config: still I can see what follows in the
> process list.
>
> 11 ? S 0:00 [cpuhp/0]
> 12 ? S 0:00 [cpuhp/1]
>
> And from what I can see in kernel/cpu.c:574, this is related to CPU
> hotplugging.
> Is this normal? And, out of curiosity, why?

Yes. We need the threads for bringing up the CPUs and for modules and other
functionality to set up per cpu related things. The thread makes sure that
the code runs on the CPUs and handles the functionality related to
install/remove of hotplug callbacks.

Thanks,

tglx