Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp359373ybk; Fri, 15 May 2020 02:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjvgYf8YttyaU7oV95Tpcpz7IBLynk3UTDzGLgpUpTbk53CjrEC5mAcbEdKrCNnuKv6aOP X-Received: by 2002:aa7:dac3:: with SMTP id x3mr1979823eds.379.1589535435227; Fri, 15 May 2020 02:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589535435; cv=none; d=google.com; s=arc-20160816; b=FiLbK54qlBTukm2G+xyvyZc6yacuRvxNCEd3pXaU2z8JmOzieDnN5RR5uc+OWD2u5A ScJnQXnVRHW+wXl8GrgAdjHJV4g4EYeP6N0F+uYc+eLPBZPDe8g5ei3r89+b9ae44LSN 1GQS68vgvh0oDB/k3CENoYoaBv7HOmqX5NbCiYQcbrw3cNb7Dh05KQFyIs/WtgKxyuri dZKp5eMEDapurKaCYgn/ep5n2GC2ySW3x44LtEheeTSTT+AtcLUSCknP1Y7rj47PQC51 +nM+LVbSOYOTK0StaJbzrvQCtRhEC6d89OKiiLI58lhBlAH98UvaPVUfYw9gyeE0KxKw aqtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=SFh/8Jj3cnDOA4CforKZLXRNOHg3HkT5YDD5IngN0JY=; b=WqxXTCUsewTmI1BrEYpdTzNOM4oASTszZ5dGpT6HzszUXTkmUdeJX9In/oL8qpqb4p hVtmYZV7g1wi/iVtdF56ZDkjcNFKWCM/j4XgoJzeKc+zhLn82PKQMfZSuz2tu5IhMwhK iYq8CMMWmIT2XbU+V6EUpmnULriTSlLBEfEFrwBTGSmX+zqNpVVhzOkWntcU1tZWCnb6 Ba4SX00ZPz+s1fg9mdlggWY49CCGaRd7aJzkJgR9glLBZkFlNS94SX6eyb3k65p6RSdh VnWbed0uRYzJAjARH8LKkAp86Aj5EzusL1KV1fdPmJJEZCMyVXURjoGZ8Rej5L7dSsNn sFpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si845898eds.398.2020.05.15.02.36.51; Fri, 15 May 2020 02:37:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728058AbgEOJf2 (ORCPT + 99 others); Fri, 15 May 2020 05:35:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727803AbgEOJf1 (ORCPT ); Fri, 15 May 2020 05:35:27 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C0AC061A0C for ; Fri, 15 May 2020 02:35:27 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] 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 1jZWjz-00049l-9B; Fri, 15 May 2020 11:34:51 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id B1E28100606; Fri, 15 May 2020 11:34:50 +0200 (CEST) From: Thomas Gleixner To: Mathieu Desnoyers Cc: linux-kernel , x86 , paulmck , Andy Lutomirski , Alexandre Chartre , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , rostedt , "Joel Fernandes\, Google" , Boris Ostrovsky , Juergen Gross , Brian Gerst , Josh Poimboeuf , Will Deacon Subject: Re: [patch V4 part 1 14/36] x86/entry: Get rid of ist_begin/end_non_atomic() In-Reply-To: <1777514130.20137.1589410645669.JavaMail.zimbra@efficios.com> References: <20200505131602.633487962@linutronix.de> <20200505134059.462640294@linutronix.de> <1777514130.20137.1589410645669.JavaMail.zimbra@efficios.com> Date: Fri, 15 May 2020 11:34:50 +0200 Message-ID: <877dxdy211.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Desnoyers writes: > ----- On May 5, 2020, at 9:16 AM, Thomas Gleixner tglx@linutronix.de wrote: > >> This is completely overengineered and definitely not an interface which >> should be made available to anything else than this particular MCE case. > > This patch introduces a significant change under the radar (not explained > in the changelog): it turns preempt_enable_no_resched() into preempt_enable(). > > Why, and why was it a no_resched() in the first place ? Was it for performance > or correctness reasons ? _no_resched() is an optimization when in code which cannot schedule anyway. But #MC is definitely not a performance critical hotpath. So yes, it's a change but really not significant. >> Signed-off-by: Thomas Gleixner >> --- < Remove useless gunk > Can you please trim your replies? Thanks, tglx