Re: [stable-4.4 1/5] padata: set cpu_index of unused CPUs to -1

2020-05-21 Thread Ben Hutchings
On Thu, 2020-05-21 at 16:51 -0400, Daniel Jordan wrote: > From: Mathias Krause > > [ Upstream commit 1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 ] Well spotted, I'll add this for 3.16 as well. Ben. > The parallel queue per-cpu data structure gets initialized only for CPUs > in the 'pcpu' CPU mask

[stable-4.4 1/5] padata: set cpu_index of unused CPUs to -1

2020-05-21 Thread Daniel Jordan
From: Mathias Krause [ Upstream commit 1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 ] The parallel queue per-cpu data structure gets initialized only for CPUs in the 'pcpu' CPU mask set. This is not sufficient as the reorder timer may run on a different CPU and might wrongly decide it's the target C