Re: [PATCH] kernel/cpu: fix spelling mistake of cpuhp_thread_run()

From: Pingfan Liu
Date: Wed Aug 25 2021 - 10:11:25 EST


On Wed, Aug 25, 2021 at 2:50 PM Gautham R Shenoy <ego@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hello Pingfan,
>
> On Tue, Aug 24, 2021 at 03:07:07PM +0800, Pingfan Liu wrote:
> > According to the name of cpuhp_should_run(), cpuhp_thread_fun() should
> > be a spelling mistake.
>
> I think cpuhp_thread_fun() is short for "CPU Hotplug thread
> function". It seems correct since the function pointer "thread_fn"
> (short for "Thread function") in the struct "smp_hotplug_thread
> cpuhp_threads" is assigned the value cpuhp_thread_fun().
>
This makes sense to me.

Thank you very much.

Regards,
Pingfan