Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp153903imm; Thu, 21 Jun 2018 15:46:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLPDdBsqJDaZG1mwW+tfBr3jUgCNRX+i4uQGrDEEevQKiH0tPXLzHdRVQ2I2DAd/aG1ghsn X-Received: by 2002:a63:7f44:: with SMTP id p4-v6mr24261125pgn.416.1529621198613; Thu, 21 Jun 2018 15:46:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529621198; cv=none; d=google.com; s=arc-20160816; b=XrmC5k9V/TpbJC51RxbF0pPa42MiAfpnmgCU5QrWutXJWghN2hbmnh4avY/PYYN9Om iKIJ4KONvJeIrJ2csec2IFk+jNcThgvAVp16W/+eJmA2lThKheUCLcID2uEPCIOrm859 9veb4eRM1S3FbSFtJwE1E7yMT22sc7/u+F144uPtpS/+81oXNnlr7xlyTrUaoZUjaRFA 0GIXhQPNLqQ4U5/klLm/OfYaYTNMEc4lJU+IRE7U0kcvMpg0JCqEtNdpTiWbWC9v+PMk fWTvW13+bKOet5ZgdrVZ/SrwJqmG9WzjtKzQfNBcSzftZiGBVkWH5JajJiNlEfj/jmU3 AaJQ== 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:arc-authentication-results; bh=xaO5o+SdzO3SHUlIQZLzZHWVF/ugHfOrcEMWo7vSv1w=; b=fQZI3HxhHQ0pG0evMFWnDlwovWL7Xn5sLo0F12zzRQ8QW+FyLl0PAZ4i2KmJDVNFtA iPIaNXmkYW1buo/UtlqTbaSFU59fnr/jcXgdJHJfNW0HZLtuYiDZyO3g11omcLGQAAw7 B9a7QhRepLjxF/zzpEB41qZFTIEZqySz247jAVGiCYwpHzdU3DPyrKgSbOrqlhrxs/JA EeyNgbfR4fA8YbgBaBV6O6lQ3bOIp84n/n5L4WnqK2r9DQBYnDNotW/ZZa7OPXwi0G9p itTgeppvvHxZR8qRQV99xzUpS8Vqzi3ilXyXEFetROWGN17S34vS3Yuy0SSVQRygAOnT ZQPg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3-v6si5692275plb.246.2018.06.21.15.46.24; Thu, 21 Jun 2018 15:46:38 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934216AbeFUWoW (ORCPT + 99 others); Thu, 21 Jun 2018 18:44:22 -0400 Received: from mga05.intel.com ([192.55.52.43]:51273 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933973AbeFUWoV (ORCPT ); Thu, 21 Jun 2018 18:44:21 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 15:44:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,253,1526367600"; d="scan'208";a="59935507" Received: from romley-ivt3.sc.intel.com ([172.25.110.60]) by fmsmga002.fm.intel.com with ESMTP; 21 Jun 2018 15:44:20 -0700 Date: Thu, 21 Jun 2018 15:43:52 -0700 From: Fenghua Yu To: Peter Zijlstra Cc: Fenghua Yu , 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: <20180621224351.GB18979@romley-ivt3.sc.intel.com> 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> <20180621221114.GD2494@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621221114.GD2494@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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