Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp625842imm; Fri, 22 Jun 2018 02:27:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI6JrbuTR/Hc97gpJSODyTZ6FCwtSb3ZSvCMXE8YHfev7e5y3ajwNNbG5GHBC5PINPTLi03 X-Received: by 2002:a17:902:a715:: with SMTP id w21-v6mr851219plq.111.1529659673714; Fri, 22 Jun 2018 02:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529659673; cv=none; d=google.com; s=arc-20160816; b=yZDEABc7l+7GJw8gmL66dkSwIt6GpyE0P5orJe3xOpeyHen69ZP4uA60TDdk8jRNL8 MUTPD4dJwrBipeodV77mvs2h7Mo2MCPjXdH8DnpTcncrsx+OlnVvs5RfbwTEvcA/pQY3 3zXVqTiq3wPvIgVjtEGesKIXzA1DfwqE2TSrpLQrD3h3k4ciFl+LRoU1VYqUc2Pb7LbZ 4XNdF37HiTTD0BTM4ZqUI02wY3wJPc7cGfVTZ7Z3rXpRcb58Pg/uvpM0+PQ8mHfTIZ3G zV8R4dCI5LA4i/7Di/XWE6umOcx37Rhzrz2axV55TTxFW9qy9wJAEI0LUvgHkFNT5hLD UE/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=DmpGGukOhuvbPT3PHhi1rV0NSt0OtEgKAHDtpRss0J8=; b=jCh45hrESM29hO+dUqn0LoaXNLhZMhMXS78GVn5ym/nN1PMf/XbE5oL1szzlvwwNlq M8rj2VTp3pwwu+bupZF/Zvu3cshyKm4a3OXpCoe1E9xAmQrWAUPaVwskRjqpqiFU/ei3 qZdzexGdLq/sBzCvYRKG2kgCFeWHVu05FBY3/QHdg3q9Qaxt5LGR+CySUsa8Qtm/SN1N dMicnAtWJEGJErbejzWXxUtd7upFRyb6a7raElRGt07iiF/OT+uebm3cMII694FEAex7 ZvvEvhu1/L+YUuykhIUm40an1jbfC0bwVAR21lN5HSBM7wR6fG8DCJQxlclA1QXPPVE8 vvhQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i3-v6si6963158pld.189.2018.06.22.02.27.39; Fri, 22 Jun 2018 02:27:53 -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; 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 S1752029AbeFVJZ2 (ORCPT + 99 others); Fri, 22 Jun 2018 05:25:28 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:40966 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbeFVJZ1 (ORCPT ); Fri, 22 Jun 2018 05:25:27 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fWIJl-0002Yx-Qb; Fri, 22 Jun 2018 11:25:21 +0200 Date: Fri, 22 Jun 2018 11:25:21 +0200 (CEST) From: Thomas Gleixner To: Fenghua Yu cc: Peter Zijlstra , 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 In-Reply-To: <20180621220003.GD114883@romley-ivt3.sc.intel.com> Message-ID: 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> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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