Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2442937ybc; Wed, 13 Nov 2019 14:34:18 -0800 (PST) X-Google-Smtp-Source: APXvYqwyVIpqKkZvwFY9UJUuWiCd5xBo5aBx3mXtBsryIIZe/5AnTd1fNNYKv4OvT3QxKVCooVO+ X-Received: by 2002:a17:906:bb16:: with SMTP id jz22mr5307881ejb.261.1573684457992; Wed, 13 Nov 2019 14:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573684457; cv=none; d=google.com; s=arc-20160816; b=oTiWc1rzQxtHpc0bXk2c+q4E8FM73zufXLFZ1kn3P/yhMD2aCvntXlNkmkrW2CFrGK vAHPeb3jzKU1QX1gPeXn6sOKLF66x5xiWyQqx4BIWaVCfNWQPPRiv/rw6RYNYboAKZAr +dTlgdQdwNI1P0Sv/QQP6cSbCksKRLKsGk+GpEixFWP469ZYV5M0h3sIvGxpVTSUhsAM KqDgTiICtMj/4Hb672qh8wecBfufdpG8OITaOivAMRSNfGMIwyxlVJSTImsKd3HepxFM flHDu59Hi4Ud6VfcFHW2XO6zKZlTcifBMELJH+csPySGFP2LWe4iT60COirGc61ly4/h 1Lxw== 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; bh=9GqPNN8mRs3/TATk1d+l2pJvJx3YWP41YmG9aID9VpI=; b=OaLcCrtW9Ojhpc6TOXoQ1wrqK7djGmdFpYW25lUsnP72xeGgB91IJQDJffrXrW1q4x rdubr37XcKju/6od3IG32O7X1e8zKAPISfzZ7yxD7trVAm1tkn7Wz5k/8Dk22gRI/tig LGlFg0mUAShHlVxbMo052KUzU+e79ppT369WeFODkZ1JzwN26f1kwbAraHIbb9lu4583 6mWLi9y6TCMnHG3VN0SKoN9mxA6iyvP1KZoGAyjoxoAwAbeMP4rVEmhMhR6wLiimAWeX OaQMpru5TbASEOPIFIosKTV89124VG8MI2kDBD2mxJ9zNM0r76/s7lLzs0VaOdHRrHMm WKkw== 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 d13si2590098edb.362.2019.11.13.14.33.53; Wed, 13 Nov 2019 14:34:17 -0800 (PST) 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 S1726590AbfKMWdG (ORCPT + 99 others); Wed, 13 Nov 2019 17:33:06 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:39304 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfKMWdG (ORCPT ); Wed, 13 Nov 2019 17:33:06 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iV1CB-0007g4-Ct; Wed, 13 Nov 2019 23:33:03 +0100 Date: Wed, 13 Nov 2019 23:33:02 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds cc: LKML , the arch/x86 maintainers , Andy Lutomirski , Stephen Hemminger , Willy Tarreau , Juergen Gross , Sean Christopherson , "H. Peter Anvin" Subject: Re: [patch V3 02/20] x86/process: Unify copy_thread_tls() In-Reply-To: Message-ID: References: <20191113204240.767922595@linutronix.de> <20191113210103.911310593@linutronix.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Wed, 13 Nov 2019, Linus Torvalds wrote: > On Wed, Nov 13, 2019 at 1:41 PM Thomas Gleixner wrote: > > > > See commit: 64604d54d311 ("sched/x86_64: Don't save flags on context switch") > > > > We need "only" make objtool support 32bit :) > > Duh, I knew that. > > Maybe just a comment in the structure and/or the __switch_to_asm() so > that next time I forget I won't look like such a tool. > > The "Save callee-saved registers" comment we have now in the 32-bit > __switch_to_asm() really is misleading and incorrect wrt the pushfl. Yeah. Let me fix that. Thanks, tglx