Re: [PATCH] sched/topology: Assert non-NUMA topology masks don't (partially) overlap

From: Valentin Schneider
Date: Thu Jan 16 2020 - 05:48:56 EST




On 16/01/2020 10:44, Peter Zijlstra wrote:
> On Wed, Jan 15, 2020 at 04:09:15PM +0000, Valentin Schneider wrote:
>> A "less intrusive" alternative is to assert the sd->groups list doesn't get
>> re-written, which is a symptom of such bogus topologies. I've briefly
>> tested this, you can have a look at it here:
>>
>> http://www.linux-arm.org/git?p=linux-vs.git;a=commit;h=e0ead72137332cbd3d69c9055ab29e6ffae5b37b
>
> Something like that might still make sense. Can't never be too careful,
> right ;-)
>

True. I'll ponder about it and see if I can't make it a bit neater