Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs
From: Jesse Brandeburg
Date: Thu Apr 29 2021 - 21:48:41 EST
Nitesh Lal wrote:
> @Jesse do you think the Part-1 findings explain the behavior that you have
> observed in the past?
>
> Also, let me know if there are any suggestions or experiments to try here.
Wow Nitesh, nice work! That's quite a bit of spelunking you had to do
there!
Your results that show the older kernels with ranged affinity issues is
consistent with what I remember from that time, and the original
problem.
I'm glad to see that a) Thomas fixed the kernel to even do better than
ranged affinity masks, and that b) if you revert my patch, the new
behavior is better and still maintains the fix from a).
For me this explains the whole picture and makes me feel comfortable
with the patch that reverts the initial affinity mask (that also
introduces a subtle bug with the reserved CPUs that I believe you've
noted already).
Thanks for this work!
Jesse