Re: [PATCH v2 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

From: Peter Zijlstra
Date: Mon Jul 02 2018 - 08:19:15 EST


On Fri, Jun 29, 2018 at 01:38:44PM -0700, Fenghua Yu wrote:
> include/linux/efi.h because set_bit() sets bits in efi.flags:
> - unsigned long flags;
> + unsigned long flags __aligned(unsigned long);
> } efi;

Help me out here; how is the above change not a complete no-op?