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 062DCC54E64 for ; Mon, 25 Mar 2024 15:09:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 969296B00A2; Mon, 25 Mar 2024 11:09:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 918E76B00A5; Mon, 25 Mar 2024 11:09:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7E13A6B00A6; Mon, 25 Mar 2024 11:09:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 6C0616B00A2 for ; Mon, 25 Mar 2024 11:09:01 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 2969140715 for ; Mon, 25 Mar 2024 15:09:01 +0000 (UTC) X-FDA: 81935894082.24.9160D4D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf15.hostedemail.com (Postfix) with ESMTP id 234F9A0033 for ; Mon, 25 Mar 2024 15:08:58 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=KjbIFsWg; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf15.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711379339; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=tqe/XbuDRzEB0/UJ0jJ3e3/7cfHApljWMaljQl4dNRM=; b=4WcTi7b5I9g82Bl1wFFhevafzz2ZEKH2/dMTQzKXSgrRUSXLCIS3hJSsnq8FMrVHay1mQC X9An/I4qWgbcjkrdCD4didPfIA0KK8ZRge7QhvlqCilFPxrC/YkP8uAF8ol6QY4dLNpmot LAaxmNVPZeK+4yfk4IpUP5/3hGA+WCE= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=KjbIFsWg; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf15.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711379339; a=rsa-sha256; cv=none; b=3J6fZiVM9z+oSN5sJwQQ0+N3FXP0sSadVrED32yr5+vtip/+XpHmwavZeK5r621QPc9oeq P98hKaZjoImgxdLBflho4pJJHO/cSZPlMfrqgBoGfbvQAlPog4SeVsaYaJ1WJBlKCfjk8i GCw5gqZqsFTj/RIxl4jjEG5dgJtuxVE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711379338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tqe/XbuDRzEB0/UJ0jJ3e3/7cfHApljWMaljQl4dNRM=; b=KjbIFsWg91DnriZGfkFO1bKKrmzZKgu/v9zBKq40DZWvxp6bb9eTH44cIK+yzdjh1y2rw9 /V+SxyBBy4Bqxg1Tc6dpEi9ngf0odWhQ5vCKC68RaDP44dmcvyursSEFPxjgWF+xXOLz9W 92TBZrUfpEOr7dPVVRJJLFuNjUw8xMA= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-88-ZfGgbDHXOz6GjEQcNpOa5A-1; Mon, 25 Mar 2024 11:08:55 -0400 X-MC-Unique: ZfGgbDHXOz6GjEQcNpOa5A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C1FD33C0E202; Mon, 25 Mar 2024 15:08:54 +0000 (UTC) Received: from localhost (unknown [10.72.116.12]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FBC63C20; Mon, 25 Mar 2024 15:08:53 +0000 (UTC) Date: Mon, 25 Mar 2024 23:08:30 +0800 From: Baoquan He To: linux-mm@kvack.org Cc: akpm@linux-foundation.org, rppt@kernel.org, mgorman@suse.de Subject: Re: [PATCH 0/7] mm: minor clean up and improvement Message-ID: References: <20240325150459.1045407-1-bhe@redhat.com> MIME-Version: 1.0 In-Reply-To: <20240325150459.1045407-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 234F9A0033 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: z3nmaedd8yabwaew8x99ztyw4eym7swn X-HE-Tag: 1711379338-150264 X-HE-Meta: U2FsdGVkX1+qxFqmlFx+yF2SCncBnRjBnYF0spjYKfw03hfLd1BX+ZZtyj0LuIJKAXIfB8Pr5yAl9qfFlopYkGWkVhl+ZiCdla+Dcj0K1dmh1RcqHCCcHBmPQ3CSwDh7lPYOEiabSAaruqLdcdDhdJ8pD99B7UGBx3Ua/L7MmPndPnbEi1GnUF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owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On 03/25/24 at 11:04pm, Baoquan He wrote: Sorry for the noise, I did misoperation on my local git commits, please ignore this series. > These mostly are for mm init when going through code flow. > > Baoquan He (7): > mm/mm_init.c: remove the useless dma_reserve > mm/mm_init.c: add new function calc_nr_all_pages() > mm/mm_init.c: remove meaningless calculation of zone->managed_pages in > free_area_init_core() > mm/mm_init.c: remove unneeded calc_memmap_size() > mm/mm_init.c: remove arch_reserved_kernel_pages() > mm: move array mem_section init code out of memory_present() > mm/init: remove the unnecessary special treatment for memory-less node > > arch/powerpc/include/asm/mmu.h | 4 - > arch/powerpc/kernel/fadump.c | 5 -- > include/linux/mm.h | 4 - > mm/mm_init.c | 143 ++++++++------------------------- > mm/sparse.c | 26 +++--- > 5 files changed, 45 insertions(+), 137 deletions(-) > > -- > 2.41.0 >