Re: [RESEND PATCH v5 0/5] Make cpuid <-> nodeid mapping persistent

From: Zhu Guihua
Date: Wed Mar 02 2016 - 21:17:58 EST


Hi,

On 03/03/2016 10:08 AM, Rafael J. Wysocki wrote:
Hi,

On Thu, Mar 3, 2016 at 2:42 AM, Zhu Guihua <zhugh.fnst@xxxxxxxxxxxxxx> wrote:
[Problem]

cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches
the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time.

When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed,
which means, cpuid <-> nodeid mapping will change if node hotplug happens. But
workqueue does not update wq_numa_possible_cpumask.

Are there any changes in this version relative to the previous one?
No, there are no changes in this version.

Thanks,
Zhu


Thanks,
Rafael


.