Re: [RFC PATCH 00/16] x86/split_lock: Enable #AC exception for split locked accesses

From: Thomas Gleixner
Date: Fri Jun 22 2018 - 05:25:33 EST


On Thu, 21 Jun 2018, Fenghua Yu wrote:
> The control knob for user is to choose killing the process (default) or
> re-executing the faulting instruction without blocking the process.
> Re-executing the instruction maybe be useful in platforms that run
> well controlled apps with less split locks.

Again, that's totally overengineered ballast. If you care, kill the thing
and if not, then disable #AC. There are other architectures which trap on
any unaligned access, so it's nothing new.

Thanks,

tglx