Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp126346imm; Thu, 21 Jun 2018 15:12:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJGrdYM6if5Xfwt+4F69x326p7nRdT7RWV/IhTvmIObphThxH1IysmKNrBE6xd5x0zq4gEw X-Received: by 2002:a63:8f0d:: with SMTP id n13-v6mr24684511pgd.109.1529619163003; Thu, 21 Jun 2018 15:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529619162; cv=none; d=google.com; s=arc-20160816; b=G3MU2/Jrvsfdw6STbXaNiODTDPcB+X2GejxX2/K7tw9LRXpuY+np0pJmsN2Xmtyttb roNT3inh3gZ8bpKWhzR70JQ6oOsgHFgBCOLQDwDmn6oEk/J8cNUasBJ9WpgHRDyEZ98W ZOK7Rh5Yt1r9xLEqkicHjBv3FzhQtY2snjhoXWVZdOAuKkrC21WIV+mupDAZdB3URnJU ojjwMLInm2U4s4164lr2wSd7+wCDg/wTuN0Cjg2cWvp6gwYeeNoP8YvyGwOeuzZUuoRH J+VL9qcqqguw66qtUB4CkpeCYQtv9nXsfD7DGx0CNtqFwCYioxK2PQWERGoGzOlXBvqQ dYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Lw6iQC4U0bPerWM08hnCpm4iR/9rVFXoaaf93W0Lz54=; b=u32A947/HT5/fbDWzPfgIcSKI8I7HpRGAZbPdvxasCTJM2+Ob87/6EsCzS7quUXiuq wQfC9u9jyHFeANYVGbJLifa5zojZCjZVnLaldX/3owG+nR7dAzBxbs/JIVBXQjdMQbDa fct73vof50vhrR6wtkpB1gcIUSEivdAeMAfix9YbVPWtOqazYUDwvNpkBJOz+G5RK4iS fcIKLCBqcmsQM3uqEAoxbWEwgAf3RAEwaROwvuzgF90CjTYhM58tCUEvU/Kf2out+xUV M9B8zhfk50VI/d3wC7UBSSDfAZhs0g8t/7PrpZKNQurRuqXqOX8nueM4PvwGFAoUH9Tz J6pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=h1GrsWOU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x16-v6si5375200pfh.354.2018.06.21.15.12.28; Thu, 21 Jun 2018 15:12:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=h1GrsWOU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933979AbeFUWLc (ORCPT + 99 others); Thu, 21 Jun 2018 18:11:32 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:59046 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933940AbeFUWLR (ORCPT ); Thu, 21 Jun 2018 18:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Lw6iQC4U0bPerWM08hnCpm4iR/9rVFXoaaf93W0Lz54=; b=h1GrsWOUjEoqlfcSey0g6lwSU 6CteLb9oEYoAZmgbJ3KOOi4gEHUcvPLP7kLPaeatV1HElJWIXiOTqbac3KXbtSZmuHvk1jXjgkoJX JY1bpGQy2v/jcXODqkoLLApP/F9VCtvLdMCfBdslq4BLZxsmwbS5lxJRcKtKs/pjoSLjXdzU3NVmC N+LSYxOtNeF3lu9SW+GgNiNlzYa2annJZSk6Z+RQao+z4/Nw09aVlDIlbGIye83e160YN1V9+eUEY 2FBwmGBG7IwcIh1teQ9skzrr/oR6Sh/rtwK38Hb3IKh/PtByroY9KGTAK0uhrZVmpSj/4gGoDIKRn KTAyU7T2Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW7nP-0001Zu-LF; Thu, 21 Jun 2018 22:11:15 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 282FA2029F1D7; Fri, 22 Jun 2018 00:11:14 +0200 (CEST) Date: Fri, 22 Jun 2018 00:11:14 +0200 From: Peter Zijlstra To: Fenghua Yu Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Ashok Raj , Dave Hansen , Rafael Wysocki , Tony Luck , Alan Cox , Ravi V Shankar , Arjan van de Ven , linux-kernel , x86 Subject: Re: [RFC PATCH 00/16] x86/split_lock: Enable #AC exception for split locked accesses Message-ID: <20180621221114.GD2494@hirez.programming.kicks-ass.net> References: <1527435965-202085-1-git-send-email-fenghua.yu@intel.com> <20180621193738.GA13636@worktop.programming.kicks-ass.net> <20180621201851.GC114883@romley-ivt3.sc.intel.com> <20180621220003.GD114883@romley-ivt3.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621220003.GD114883@romley-ivt3.sc.intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.