From patchwork Tue Jan 5 07:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoquan He X-Patchwork-Id: 11998277 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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 2D9EBC433E0 for ; Tue, 5 Jan 2021 07:47:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9CDE221973 for ; Tue, 5 Jan 2021 07:47:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9CDE221973 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1921D8D005E; Tue, 5 Jan 2021 02:47:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 142718D0036; Tue, 5 Jan 2021 02:47:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 030D88D005E; Tue, 5 Jan 2021 02:47:21 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0130.hostedemail.com [216.40.44.130]) by kanga.kvack.org (Postfix) with ESMTP id DE29A8D0036 for ; Tue, 5 Jan 2021 02:47:21 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id AA288180AD807 for ; Tue, 5 Jan 2021 07:47:21 +0000 (UTC) X-FDA: 77670941082.28.veil13_330bb0f274d7 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id 8E31E6C0A for ; Tue, 5 Jan 2021 07:47:21 +0000 (UTC) X-HE-Tag: veil13_330bb0f274d7 X-Filterd-Recvd-Size: 2810 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf15.hostedemail.com (Postfix) with ESMTP for ; Tue, 5 Jan 2021 07:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609832840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=wOy4fK678d0NueCMqqzfT88gnxVHOqdKrxq/VekxyZo=; b=WiuR27rPFLIE9n48BU7ZDRg8TYawbAEIf95uFbQotDVBpkAlfaDkT02lRB1yVkTixrRh7f /8bXieTOp8MrigvQ8LK3xGfESvavO2Pc6n8x9B10kkbotv9m15NHX97vhBMUoSNUO4TYEa FKDqAzSA+sSlGktesHp/nKhL+ciDfLA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-365-fUe9xwRuP4me0ntpRdt3Mw-1; Tue, 05 Jan 2021 02:47:17 -0500 X-MC-Unique: fUe9xwRuP4me0ntpRdt3Mw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A52498015DC; Tue, 5 Jan 2021 07:47:16 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-13-56.pek2.redhat.com [10.72.13.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5E02A71CA2; Tue, 5 Jan 2021 07:47:10 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, rppt@kernel.org, david@redhat.com, bhe@redhat.com Subject: [PATCH v3 0/4] mm: clean up names and parameters of memmap_init_xxxx functions Date: Tue, 5 Jan 2021 15:47:04 +0800 Message-Id: <20210105074708.18483-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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: This patchset is correcting inappropriate function names of memmap_init_xxx, and simplify parameters of functions in the code flow when I tried to fix a regression bug in memmap defer init. These are taken from the v2 patchset, the bug fixing patch has bee sent alone and merged. So send the rest as v3. No any change comparing with v2, except of adding Mike's 'Reviewed-by' tag. V2 post is here: https://lore.kernel.org/linux-mm/20201220082754.6900-1-bhe@redhat.com/ Baoquan He (4): mm: rename memmap_init() and memmap_init_zone() mm: simplify parater of function memmap_init_zone() mm: simplify parameter of setup_usemap() mm: remove unneeded local variable in free_area_init_core arch/ia64/include/asm/pgtable.h | 3 +- arch/ia64/mm/init.c | 14 +++++---- include/linux/mm.h | 2 +- mm/memory_hotplug.c | 2 +- mm/page_alloc.c | 54 +++++++++++++++------------------ 5 files changed, 36 insertions(+), 39 deletions(-)