Re: [PATCH v4] pseries: prevent free CPU ids to be reused on another node

From: Nathan Lynch
Date: Wed Apr 07 2021 - 15:48:49 EST


Laurent Dufour <ldufour@xxxxxxxxxxxxx> writes:
>
> Changes since V3, addressing Nathan's comment:
> - Rename the local variable named 'nid' into 'assigned_node'
> Changes since V2, addressing Nathan's comments:
> - Remove the retry feature
> - Reduce the number of local variables (removing 'i')
> - Add comment about the cpu_add_remove_lock protecting the added CPU mask.
> Changes since V1 (no functional changes):
> - update the test's output in the commit's description
> - node_recorded_ids_map should be static
>
> Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxx>

Thanks Laurent.

Reviewed-by: Nathan Lynch <nathanl@xxxxxxxxxxxxx>