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

From: Fenghua Yu
Date: Thu Jun 21 2018 - 18:44:26 EST


On Fri, Jun 22, 2018 at 12:11:14AM +0200, Peter Zijlstra wrote:
> On Thu, Jun 21, 2018 at 03:00:03PM -0700, 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.
>
> Just fix the applications. I doubt there will be many, many other
> platforms will already SIGBUS on unaligned access, atomic or not.

Ok. I will just kill the process by SIGBUS and remove the control knob
in the next version.

Thanks.

-Fenghua