RE: [PATCH v10 6/6] x86/split_lock: Enable split lock detection by kernel parameter

From: Luck, Tony
Date: Thu Dec 12 2019 - 13:52:43 EST


> If anything we could switch the entire bitmap interface to unsigned int,
> but I'm not sure that'd actually help much.

As we've been looking for potential split lock issues in kernel code, most of
the ones we found relate to callers who have <=32 bits and thus stick:

u32 flags;

in their structure. So it would solve those places, and fix any future code
where someone does the same thing.

-Tony