Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A63DCC43381 for ; Tue, 19 Feb 2019 09:19:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7220721904 for ; Tue, 19 Feb 2019 09:19:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MABSB+S+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7220721904 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mAmXIReP5vIeKxMJ+drX+9+t97O84QBEOKw75z2IWaU=; b=MABSB+S+4KbEGq b+6P6u0xHNdvOmy6Hx/aJplPKO92NVcxIRkuZcQNSkiEo+d41ik+5S08XC1SnZvNwGy1d7kY+EP9M 15N5wOFbWyOxAOQTRZuJ+h7EcopHdl5cJtGfHj5ML1d7VWfTV8MPgZy30TX3X7sjDBIkjZ8lEZRRW zz7OXScgWNLI+tpjBgmhXYyrYk8VB8q08V2/sp4OuePrGpD1qJRudHaEeoiLDxnixW7BOfnsBTi2M zFLstFnhIby69qucPEJyxTIi4pza8BpCOshJWT2TzSUqGp1DZPZC/ZmHW4X1BFFLSP4gH5XwfQLdi 5aZbeT3+739SFiYN+yaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gw1Ym-0000D0-1h; Tue, 19 Feb 2019 09:19:28 +0000 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 1gw1Yk-0000Cr-NP; Tue, 19 Feb 2019 09:19:26 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3FF71286C98E1; Tue, 19 Feb 2019 10:19:25 +0100 (CET) Date: Tue, 19 Feb 2019 10:19:25 +0100 From: Peter Zijlstra To: Linus Torvalds Subject: Re: [PATCH] sched/x86: Save [ER]FLAGS on context switch Message-ID: <20190219091925.GU32534@hirez.programming.kicks-ass.net> References: <20190213154532.GQ32534@hirez.programming.kicks-ass.net> <20190213222146.GC32494@hirez.programming.kicks-ass.net> <20190214101429.GD32494@hirez.programming.kicks-ass.net> <20ABBED1-E505-45F6-8520-FB93786DF9A9@zytor.com> <20190216103044.GR32494@hirez.programming.kicks-ass.net> <9e037d68-75e7-1beb-0c9c-33a7ffeced1b@zytor.com> <20190219091525.GX32494@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190219091525.GX32494@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Josh Poimboeuf , Denys Vlasenko , Brian Gerst , Julien Thierry , Catalin Marinas , valentin.schneider@arm.com, Will Deacon , Linux List Kernel Mailing , Andy Lutomirski , Ingo Molnar , James Morse , Andrew Lutomirski , "H. Peter Anvin" , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "linux-alpha@vger.kernel.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 19, 2019 at 10:15:25AM +0100, Peter Zijlstra wrote: > On Mon, Feb 18, 2019 at 04:24:30PM -0800, Linus Torvalds wrote: > > On Mon, Feb 18, 2019 at 2:31 PM H. Peter Anvin wrote: > > > > > > The question is what "fix it" means. I'm really concerned about AC escapes, > > > and everyone else should be, too. > > > > I do think that it might be the right thing to do to add some kind of > > WARN_ON_ONCE() for AC being set in various can-reschedule situations. > > So I disagree. > > Either we set AC with preempt disabled, and then we don't need an extra > warning, because we already have a warning about scheduling with > preemption disabled, or we accept that the fault handler can run. n/m about the faults, forgot the obvious :/ I still really dislike wrecking the preemption model over this. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel