Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2422764ybc; Wed, 13 Nov 2019 14:14:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxBCZCuSgwUUUluN3xzNI/BcGLNS5w54nGAc98G1Jp9dDT6m2k4GioiyhpQAzKB+Eaj7iur X-Received: by 2002:a50:9353:: with SMTP id n19mr6351024eda.258.1573683273334; Wed, 13 Nov 2019 14:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573683273; cv=none; d=google.com; s=arc-20160816; b=NSEFBdsFLP73ZsAu1bAz10gSOyepM3usaLRj+MFtxdnR1ScuBTHI95NRAgEGQgfBH5 zoux99qGdx7unJuW64W8dt7AsVLCrmLqpOhUSq7wl8yWpDowXLPO2mn8tvf52qi+NyrM bNTxXnHtgPD/AiifHf6gcMVxyMNI2FnrqNXSUZD2k7etrSPjtszt9SsmURjCPERe6BuU NpDfH+KyCF2zF2tUvwdDCEw1tmsEb8jvnb40Hugf+1QwfzqxSCwp9e/OvWZwMLY2Slhf L7w0HYj8bvAtRk+ah1VXKWCE7bCtDFqvrHa3Pb64q29pwTm0PjuDkpRLNrVI7ujlX2bh 3P5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=i1zMQg9x2+quU7c6dj26l16dpASxnQWLZmydmUaC3KM=; b=K6kISNDOBzRDzDGlAQh6OgCUmCsyoQ1/1/1NsLiyC4GuKuEiwJlktRYsM5u/HrNFk/ f4OWrd/TrZMdFOxkRKOjmERM+N8PFBqNg8OouQUYrFpSrEj8SX4exWrSdyCNZrZmb9LQ UyfXuRgTWtUACCI5PNl12SQ14UyQI+Glzq0meRmzOs+9ikIWro8kXAPpDA0KlZB0QFb2 sh23fNJYBq76fqwVFzQJphFsPl/iZiHU+KdXo7AmHrSxkhvjlmdaUjWs+n95es53FkKQ fviMhKRf3pXZoLqmwUZ74Sp86hWxgvwBSXLhE1167r9o6XxZs/gZxz+y1oijpjKiyOXH F8nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GjdF9KRD; 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 v10si2551626edc.62.2019.11.13.14.14.08; Wed, 13 Nov 2019 14:14:33 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GjdF9KRD; 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 S1726452AbfKMWK1 (ORCPT + 99 others); Wed, 13 Nov 2019 17:10:27 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39632 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfKMWK1 (ORCPT ); Wed, 13 Nov 2019 17:10:27 -0500 Received: by mail-lj1-f196.google.com with SMTP id p18so4361308ljc.6 for ; Wed, 13 Nov 2019 14:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i1zMQg9x2+quU7c6dj26l16dpASxnQWLZmydmUaC3KM=; b=GjdF9KRD29TPy51zlv+jHE6g1MGXU72w8Fz2FjC59HVEdkEXOFsEkYQxHadVwMFOR8 ZdLXM30tUP6XNNIyPWNpPAn8oYNEE57ryb6Zfh+ymwEyNaxyN594mDcbgIJF0cqOJ/Aq Hw0QZWR7LcRPglxFbogYFzPP0c04ARjV0oNaU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i1zMQg9x2+quU7c6dj26l16dpASxnQWLZmydmUaC3KM=; b=n7X5B74zTRRuszNd2EkTiwPMEMhP6EBU2lpyYvN93jVc6gr+SXHPfrlPXzE9NkR/Jd ck5kznDf+h03CFFJWp+rJuNsUurTXIXYp5WUh1Rk/KAwsRxs368los+6/prmRpqv87X7 Q6LvabEzAMVeYklG9oivhEtaY6n+k7nxku5FxzLBkTgdMABBwDWpwuMIGL6ZXdEed2ix dD6MWnVbb1p1mIkhonD/w2Y4hOCE9Y/TC0fCmoZ0aFSnBUNsWdAbvHn8BJa6201qm874 6xHEnMXQQUwKacbPWrZ80fQpL0azU1t2/U6z9ltiFzLQq1ph8n4JSbanxie8je6AEVHA fzOQ== X-Gm-Message-State: APjAAAUO3zzAy6xCoct/WYIHUGEHVc10eleJTlZIm+HmmnQkDl665DwH +09jVUpbbN4H5Xab7GPgmfRvqoGdidk= X-Received: by 2002:a2e:898d:: with SMTP id c13mr4252191lji.54.1573683024070; Wed, 13 Nov 2019 14:10:24 -0800 (PST) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by smtp.gmail.com with ESMTPSA id t8sm1539521lfl.51.2019.11.13.14.10.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2019 14:10:22 -0800 (PST) Received: by mail-lj1-f169.google.com with SMTP id n5so4339611ljc.9 for ; Wed, 13 Nov 2019 14:10:22 -0800 (PST) X-Received: by 2002:a2e:8809:: with SMTP id x9mr4163916ljh.82.1573683022288; Wed, 13 Nov 2019 14:10:22 -0800 (PST) MIME-Version: 1.0 References: <20191113204240.767922595@linutronix.de> <20191113210103.911310593@linutronix.de> In-Reply-To: From: Linus Torvalds Date: Wed, 13 Nov 2019 14:10:06 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch V3 02/20] x86/process: Unify copy_thread_tls() To: Thomas Gleixner Cc: LKML , "the arch/x86 maintainers" , Andy Lutomirski , Stephen Hemminger , Willy Tarreau , Juergen Gross , Sean Christopherson , "H. Peter Anvin" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Linus