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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47959C43334 for ; Tue, 7 Jun 2022 05:27:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 30D956B0072; Tue, 7 Jun 2022 01:27:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2BD3A6B0073; Tue, 7 Jun 2022 01:27:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1868B6B0074; Tue, 7 Jun 2022 01:27:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 01B1D6B0072 for ; Tue, 7 Jun 2022 01:27:53 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B044320C4E for ; Tue, 7 Jun 2022 05:27:53 +0000 (UTC) X-FDA: 79550308026.25.35148D6 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf06.hostedemail.com (Postfix) with ESMTP id 6DE5218004F for ; Tue, 7 Jun 2022 05:27:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=v5EnYcovArD4OSt7S5RJFQjxE1fmtrYeexg0Oh7zsXA=; b=kMjbbyOtHNOK46H1tp7iathRaX 7BebtK0+f2fli7C4RkLW81saetKvQz/q2G+U7nT6NcV6GhBAJDa/N1teXU1oXlFNRh+RlrzwOZcYG vot4cNE1mSL+6UpbjU8PCoae+O4u1V96s8/Vqjl5WheoAcXtoKVcSZ5jj28OCiw2o7N7bZIMqkmUc hyR66NtxdcKqEaMB2jAqBAThxBPgVO3KUZuoT5Vc13NhHHDCG4fdqJxaHulIEnVr8euxDhB3fcOXW 7lNRoJ8AAQ2EJKvVLuzdOoHrrbXA8HSNSQkdjmiq7ClUd3bhbtODzeD9USbdXaXzSWyNhRgthaB9d Wc0HI3Yw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyRkm-004paF-G9; Tue, 07 Jun 2022 05:27:44 +0000 Date: Mon, 6 Jun 2022 22:27:44 -0700 From: Christoph Hellwig To: Baoquan He Cc: akpm@linux-foundation.org, npiggin@gmail.com, urezki@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] mm: ioremap: rename ioremap_page_range() to ioremap_range() Message-ID: References: <20220606083909.363350-1-bhe@redhat.com> <20220606083909.363350-6-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606083909.363350-6-bhe@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=kMjbbyOt; dmarc=none; spf=none (imf06.hostedemail.com: domain of BATV+f6762cbfc7881e849a3b+6862+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+f6762cbfc7881e849a3b+6862+infradead.org+hch@bombadil.srs.infradead.org X-Stat-Signature: t1qjfpajc14he95q4n4b4cqket1qy13z X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 6DE5218004F X-HE-Tag: 1654579667-640089 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 Mon, Jun 06, 2022 at 04:39:09PM +0800, Baoquan He wrote: > Because the current ioremap_page_range() only maps IO address to kernel > virtual address, no struct page pointer passed in or page handling related. > So rename it here. > > The renaming is done with below command: > sed -i "s/ioremap_page_range/ioremap_range/g" `git grep -l ioremap_page_range` This creates a lot of churn without much of a benefit. If you want to get rid of the name please convert most architectures to the generioc ioremap code first so that all these callers go away..