Re: [PATCH 3/2] padata: initialize usable masks to reflect offlined CPU

2019-08-22 Thread Daniel Jordan
On 8/21/19 11:51 PM, Herbert Xu wrote: On Mon, Aug 12, 2019 at 05:02:00PM -0400, Daniel Jordan wrote: __padata_remove_cpu clears the offlined CPU from the usable masks after padata_alloc_pd has initialized pd->cpu, which means pd->cpu could be initialized to this CPU, causing padata to wait inde

Re: [PATCH 3/2] padata: initialize usable masks to reflect offlined CPU

2019-08-21 Thread Herbert Xu
On Mon, Aug 12, 2019 at 05:02:00PM -0400, Daniel Jordan wrote: > __padata_remove_cpu clears the offlined CPU from the usable masks after > padata_alloc_pd has initialized pd->cpu, which means pd->cpu could be > initialized to this CPU, causing padata to wait indefinitely for the > next job in padat

[PATCH 3/2] padata: initialize usable masks to reflect offlined CPU

2019-08-12 Thread Daniel Jordan
__padata_remove_cpu clears the offlined CPU from the usable masks after padata_alloc_pd has initialized pd->cpu, which means pd->cpu could be initialized to this CPU, causing padata to wait indefinitely for the next job in padata_get_next. Make the usable masks reflect the offline CPU when they're