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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9994DC43334 for ; Tue, 7 Jun 2022 05:28:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbiFGF2D (ORCPT ); Tue, 7 Jun 2022 01:28:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbiFGF17 (ORCPT ); Tue, 7 Jun 2022 01:27:59 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E47EB4BB9E for ; Mon, 6 Jun 2022 22:27:55 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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..