Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3038727yba; Mon, 22 Apr 2019 18:25:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5vnYd9F0c6RXokCsvJMx1f+DQJda6QwOkm02XJMfl0rX5NEsSggw6PKU7cWAJL7y4rAEe X-Received: by 2002:a17:902:7206:: with SMTP id ba6mr22297153plb.301.1555982716142; Mon, 22 Apr 2019 18:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555982716; cv=none; d=google.com; s=arc-20160816; b=n/fok6IwUeQcBA2qiDUEs9GAHMfR7lgRaIm7xr+UWPfwXEBhLhDuesujGqkhRGZegv vEFYAoM4HCvhjDSwsd0HtvbB9Ol6sopzfyG8HRzPwk8+csafdGDEANhfvwRQp7NiLXXY 2cAxjhhyXriw5zvc45lgtW7+2OEZWFrRHTCvs8JykYXrLhnXi2k9QlJEVkUdsYPCDt0s 4VyVOD5WysUzoYbhURcjM4+kcJ4HzefZkjQaOesLpTAqRDf4px/3kEtPjHjHwPYLwzAr VluaA45IHvIpkUZt1Bn/2ECYV/DvfZRdrak6V9mswnLcvhNPiXb5vUrjcy55CZHXybWq /51g== 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:dkim-signature; bh=mk/aeqDyjVubC22vG+Tnj0+IUdzO2mmBQHViP+VJ06s=; b=MVsi8MyiRnc7osmrzTBzSRPa4rbroGzEggil1+flLmlA9k2NozEqZg1LR0Qfy0Oeaz hg2Eud4PRrOXUZNQ/96nJWrkyexXChHfyAZupJvdbCmwnQnAuqXe38sfHHacO2yDqtGF 1OC8MdPvqEtDr5DoTd7QKzSiMcHk8QMhaWvANWKIjI7gBW2A44Whb48NeHqdBavTQ4L3 S/HBJhZmm+rpSkFe27ZUeyjVLFksNdL23QEqbvsaLbI+MnDts902TB6QO2Wa/jYpKd3e VleObvWBuyzsNMZ4+A9CWbG1WizSt7bxK2+iXji3/l/psLze1ET8X2lYKeV7Z27CqcZA fCig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=szjpaQv9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si13769850pgi.180.2019.04.22.18.25.01; Mon, 22 Apr 2019 18:25:16 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=szjpaQv9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729105AbfDVWEe (ORCPT + 99 others); Mon, 22 Apr 2019 18:04:34 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44763 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727588AbfDVWEe (ORCPT ); Mon, 22 Apr 2019 18:04:34 -0400 Received: by mail-wr1-f67.google.com with SMTP id c5so8562564wrs.11 for ; Mon, 22 Apr 2019 15:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mk/aeqDyjVubC22vG+Tnj0+IUdzO2mmBQHViP+VJ06s=; b=szjpaQv92lzbMiKOj0TAIoB9rr7VMgOQoKv4yzw6lMIIm/aFTsHcgCP+VIi2vdv11s ZH9mYh7+FXHPjjftyvGhs2pdVhD+PvKYCLObmtaCMVyo8HW7ZFREGtvVfpbd9SwY/R37 tJTaDD4jb5deb6mVNjPXoJHAZK161PwpFUvMMsca/XYlBVcB37phcoiL3wysP1X5p/w3 6S6B1BrPQZXuW7Vcl3uDH8gcVEGBOEuBR0Jd2JD3B0J79tQyQ+LIWEojK+/8iCf1rJkw 8IUf0U0s9gKy7eUnDZpzhvtOsVAWokEPYfU/nSBgCHenS1uChKKXEnIKYInaGdrwQFiB 0yOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mk/aeqDyjVubC22vG+Tnj0+IUdzO2mmBQHViP+VJ06s=; b=Q7QqB3GQB1tpEYhd+BXIfNEkMDgdVKmLub/KbJldAxRMbN67jWtEWwKdPoIan8qUu/ XhGu8mMmwUwLnoK4k7cX64m83/nQuDxsNmWHfdrFRmxfjRiCIYx2y5hd2mnx8J+xUWBf YPyg5TQWTCkid9gTh6tT8MdQ2th+nhdxRKV+44jjKsjbqIBLpBsRSFdAeSgyQOe7RTPb H69mBHYxPtouH3f3+TIuO8D5rAcbUUoKS6N7A524oI3N8ZAj1XFfEr+HCg/WCdye5MSa Jz/mVsZTKe5HEizSwJ9LI95pxyWhVE0RXnl22nXySaTktt67SPgj3qnjISmaD+wbamhM 2ePA== X-Gm-Message-State: APjAAAX4HzDVgFjakJ+XYBvnNh7lyLbru5IacK/ikUuPPGwwePck/bov AEpbGHFLpl6Sb5fpERaNWQ== X-Received: by 2002:a5d:5346:: with SMTP id t6mr15598952wrv.59.1555970672564; Mon, 22 Apr 2019 15:04:32 -0700 (PDT) Received: from avx2 ([46.53.240.81]) by smtp.gmail.com with ESMTPSA id 62sm12287029wrm.18.2019.04.22.15.04.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Apr 2019 15:04:31 -0700 (PDT) Date: Tue, 23 Apr 2019 01:04:29 +0300 From: Alexey Dobriyan To: Ingo Molnar Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Peter Zijlstra , Linus Torvalds , Al Viro Subject: Re: [PATCH] x86_64: uninline TASK_SIZE Message-ID: <20190422220429.GA26031@avx2> References: <20190421160600.GA31092@avx2> <20190421182842.GD35603@gmail.com> <8B42CD57-9343-4234-A96D-80337BFFDF0E@zytor.com> <20190421211007.GA30444@avx2> <20190422103449.GA75723@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190422103449.GA75723@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 12:34:49PM +0200, Ingo Molnar wrote: > When set_personality_ia32() is called then TIF_ADDR32 is set > unconditionally, without any Kconfig variations. Indeed. personality(PER_LINUX32) = 0 (PER_LINUX) I only wasted about half an evening ifdefing TIF_ flags. Thanks for saving a lot of time!