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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 9465DC4743C for ; Mon, 14 Jun 2021 11:30:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1E0EB611CA for ; Mon, 14 Jun 2021 11:30:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E0EB611CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7E7B56B006C; Mon, 14 Jun 2021 07:30:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 798116B006E; Mon, 14 Jun 2021 07:30:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5E9E66B0070; Mon, 14 Jun 2021 07:30:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0093.hostedemail.com [216.40.44.93]) by kanga.kvack.org (Postfix) with ESMTP id 2C9926B006C for ; Mon, 14 Jun 2021 07:30:22 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id A66FC180AD807 for ; Mon, 14 Jun 2021 11:30:21 +0000 (UTC) X-FDA: 78252111042.18.6F5E759 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf07.hostedemail.com (Postfix) with ESMTP id 663DDA000265 for ; Mon, 14 Jun 2021 11:30:12 +0000 (UTC) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15EBDXOR107032; Mon, 14 Jun 2021 07:30:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=GkYVH1gkL2YnNG1Xlr0KYLgH78+jf8XloYxDLbmmPUo=; b=XezDVQEIs/B2Do/0+NpW5qUic2HZB6yOP5PSm0TzdTrONJGFLVaNJrFxWv8JN69GA1RS ap3CKWJg6SY16cLtdl83PGtZzXDtOjTSU0sX6JRTNijeaMf97SJhgFLEN37oPSldKSpH zgQY/ZQcEA9GN33YfS5SB2UqwHIWdzZ0r9+NIwuIOfu/PuF6vAk4Gtg0UC5bUxZctYOp /EuFPk95XfoxktWu96NPU9OcYNZZRZIe/0Oe0o+1w2IeGk+93bdgxxwv3JYGZ+Z+EwJN z7SI5jrxYcEYkLIpsKUYCjxZlfjOb+KwmIE6eBuby4w7hqGJe4Nnb1xIwzGJ7fjV+SlS Pg== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com with ESMTP id 396622gee1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 07:30:19 -0400 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15EBMpoF011971; Mon, 14 Jun 2021 11:30:17 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma02fra.de.ibm.com with ESMTP id 394mj88g9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 11:30:17 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15EBTCgW15925532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Jun 2021 11:29:12 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BD3704C04A; Mon, 14 Jun 2021 11:30:14 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 28BC74C046; Mon, 14 Jun 2021 11:30:14 +0000 (GMT) Received: from [9.199.37.120] (unknown [9.199.37.120]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 14 Jun 2021 11:30:13 +0000 (GMT) Subject: Re: [PATCH 1/2] mm: Change pud_page_vaddr to return pmd_t * To: linux-mm@kvack.org Cc: akpm@linux-foundation.org, Linus Torvalds References: <20210614110223.133678-1-aneesh.kumar@linux.ibm.com> From: "Aneesh Kumar K.V" Message-ID: <30cdb642-4419-a43f-0dbc-613e74a09338@linux.ibm.com> Date: Mon, 14 Jun 2021 17:00:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210614110223.133678-1-aneesh.kumar@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: LlVsi2AxssvCYHsonMwatGQ7hyffByRG X-Proofpoint-ORIG-GUID: LlVsi2AxssvCYHsonMwatGQ7hyffByRG X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-14_04:2021-06-14,2021-06-14 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 spamscore=0 impostorscore=0 suspectscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106140078 Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=XezDVQEI; spf=pass (imf07.hostedemail.com: domain of aneesh.kumar@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=aneesh.kumar@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 663DDA000265 X-Stat-Signature: smu4gif6nerkhxp3qdwxp75r6gtkx8f3 X-HE-Tag: 1623670212-151284 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 6/14/21 4:32 PM, Aneesh Kumar K.V wrote: > Signed-off-by: Aneesh Kumar K.V > --- > arch/alpha/include/asm/pgtable.h | 6 ++++-- > arch/arm64/include/asm/pgtable.h | 4 ++-- > arch/ia64/include/asm/pgtable.h | 2 +- > arch/m68k/include/asm/motorola_pgtable.h | 2 +- > arch/mips/include/asm/pgtable-64.h | 4 ++-- > arch/parisc/include/asm/pgtable.h | 2 +- > arch/powerpc/include/asm/book3s/64/pgtable.h | 6 +++++- > arch/powerpc/include/asm/nohash/64/pgtable.h | 6 +++++- > arch/powerpc/mm/book3s64/radix_pgtable.c | 4 ++-- > arch/riscv/include/asm/pgtable-64.h | 4 ++-- > arch/sh/include/asm/pgtable-3level.h | 4 ++-- > arch/sparc/include/asm/pgtable_32.h | 4 ++-- > arch/sparc/include/asm/pgtable_64.h | 4 ++-- > arch/um/include/asm/pgtable-3level.h | 2 +- > arch/x86/include/asm/pgtable.h | 4 ++-- > arch/x86/mm/pat/set_memory.c | 4 ++-- > arch/x86/mm/pgtable.c | 2 +- > include/asm-generic/pgtable-nopmd.h | 2 +- > include/linux/pgtable.h | 2 +- > 19 files changed, 39 insertions(+), 29 deletions(-) > > diff --git a/arch/alpha/include/asm/pgtable.h b/arch/alpha/include/asm/pgtable.h > while we are doing this, should we rename pud_page_vaddr to pud_pgtable and p4d_page_vaddr to p4d_pgtable? I actually find the name pud_page_vaddr confusing (is it the vaddr of pud page kind of confusion) -aneesh