Not yet mainlined in the Linux kernel but currently queued as part of the x86/cpu changes for next round is the ability for the kernel to detect split locks and either warn the offending applications or kill the processes…
Source: Phoronix – The Linux Kernel Will Be Able To Detect Split-Locks To Then Warn Or Kill Offending Apps