From mboxrd@z Thu Jan 1 00:00:00 1970 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.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 DA3E0C433EF for ; Tue, 21 Sep 2021 14:13:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5A00A61156 for ; Tue, 21 Sep 2021 14:13:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5A00A61156 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=me.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id D22A26B0071; Tue, 21 Sep 2021 10:13:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CB67E6B0072; Tue, 21 Sep 2021 10:13:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B99FB900002; Tue, 21 Sep 2021 10:13:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0065.hostedemail.com [216.40.44.65]) by kanga.kvack.org (Postfix) with ESMTP id A93B46B0071 for ; Tue, 21 Sep 2021 10:13:20 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 68D171812ABF6 for ; Tue, 21 Sep 2021 14:13:20 +0000 (UTC) X-FDA: 78611772960.28.7B2AC78 Received: from pv50p00im-ztbu10011701.me.com (pv50p00im-ztbu10011701.me.com [17.58.6.53]) by imf15.hostedemail.com (Postfix) with ESMTP id 175C4D000099 for ; Tue, 21 Sep 2021 14:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1632233599; bh=sU7VDyxgqshhBpfTtRFSbMmxTsUudTgb8V1LgrEYnuo=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=HQcAzf75Vwm3vaqbRGussoiQWc+cZe5bFkUslqaTFdAs76k4sDRC3TgG0O1Lge+Gb gOK3Jkf909wZgh6wa6hnPRBxvmhqp3kvo0P1oGUUEKXdjjVP8Ad4zRjS3WY28VUqhv CBrq3P0dlIqbVwmGEFgOH5dOHDfpPnoPecU5KXsLTKtJFvjb+8Npmi8jFP8r8meDcz gt631N6k6nD4hr9dsGi8mefqYguSc9VPgO3T0uXIziQfcQZCANyxWnvBSRyYINYzjo I7xuvqg/Xh4CHa4VnxrZVCbPr/Uj8ocRY5BDraxYbVfjR2TdktMulZAAPcnqeL/vs0 2aLstZJxfMEKQ== Received: from 192.168.1.7 (unknown [120.245.3.37]) by pv50p00im-ztbu10011701.me.com (Postfix) with ESMTPSA id 5DE4F8A0133; Tue, 21 Sep 2021 14:13:16 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH 1/2] x86: Rename TIF_ADDR32 to TIF_32BIT From: Xiongwei Song In-Reply-To: Date: Tue, 21 Sep 2021 22:13:14 +0800 Cc: x86@kernel.org, linux-mm@kvack.org, Xiongwei Song Content-Transfer-Encoding: 7bit Message-Id: <6398A677-41C9-4AE0-91B0-885D76935591@me.com> References: <20210921110252.2593542-1-sxwjean@me.com> <20210921110252.2593542-2-sxwjean@me.com> To: Peter Zijlstra X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-21_04:2021-09-20,2021-09-21 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2109210088 Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=me.com header.s=1a1hai header.b=HQcAzf75; spf=pass (imf15.hostedemail.com: domain of sxwjean@me.com designates 17.58.6.53 as permitted sender) smtp.mailfrom=sxwjean@me.com; dmarc=pass (policy=quarantine) header.from=me.com X-Stat-Signature: czes5h3kmq5bix7rxfrhh1ow4eq8xjsi X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 175C4D000099 X-HE-Tag: 1632233599-192595 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Sep 21, 2021, at 7:50 PM, Peter Zijlstra wrote: > > On Tue, Sep 21, 2021 at 07:02:51PM +0800, sxwjean@me.com wrote: >> From: Xiongwei Song >> >> In arm64 or powerpc or sparc, the 32 bits process in 64 bits kernel is set >> flag TIF_32BIT. However in x86, that flag name is TIF_ADDR32. This patch >> makes the flag name in x86 same as other archs. > > x86 is fundamentally different here, the TIF flag does not say (nor can > it) anything about the bitness of the code running. On x86_64 a 64bit > process can run 32bit code without the kernel necessarily knowing > anything about it. > > The only thing it does it limit the address range, and as such the name > is correct. > Hi Peter, Thanks for your comments. But I missed email addresses for patch 1 and 2. I will resend the patches. Regards, Xiongwei