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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75E79CD4F25 for ; Thu, 14 May 2026 08:20:04 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4gGNYH1GNQz2xy8; Thu, 14 May 2026 18:20:03 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1778746803; cv=none; b=Gx2jQoFGa6j4KlQTPmGmMnRgwgSZcK+OvwvS6VM3ILnrMk5MOpBRFG/NoZGqvFBxE8TGOhjZ6KCGIspQ2liuJFXmjeJGqt0ErkDQox5kb41QsxfzbXpoG9vCg/x2w7msGrUHMmVteCuAX5uhvYn/c0PEVezscklGXk2CuA4FyJ0+nbOt3JN+CF08SxD9Z2Ki0JHBhQJWcCcctMLrZ1nmk11Pnt65BkvRm76G1WrPUzG3Njec28mstltSktUEeAC1qm2z/L/gyNKmDAyslQtEYT8lG5ybew+UdXcHoOUtfGLlma2A5Uu6pqUzF/02pkoCuaCStp7CJ+tA4rPY6NDffw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1778746803; c=relaxed/relaxed; bh=Lp26RfimiH9EO0O3E3LH9GxPaxPsme0J/FuhGIJOEZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KyCrPM00GEOEVp5WkebFRg6UO42xkAjrMomZmnfagzlapwc8o+Rby/QgBwRETvFLXJUCeCNlaf/zknf0ZrATbTTy3bSRdqK4uhPrIAEb/ylAjjSy8jYjLT+tXghJXbhIaF7QYWjS1G/ujhlgP5J4D/CpD2BaHN1iXyUiQFjt4jzX0H/70b64dGj212bHApnkNp5r/QYnANnjRpP8V1zxuHy0/GutFkYN99C1EHZBsOLV9JMuJ7FaxK763RHfQrcQ5whtg1bKmjmuUIe0StwFXuXYZ7ddbZ7o0EeX1t6etR1pvitisOt5LjI+HfbnAxmbETU4YXsdDs0jdANZOGOIiA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass (client-ip=195.135.223.131; helo=smtp-out2.suse.de; envelope-from=osalvador@suse.de; receiver=lists.ozlabs.org) smtp.mailfrom=suse.de Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=suse.de (client-ip=195.135.223.131; helo=smtp-out2.suse.de; envelope-from=osalvador@suse.de; receiver=lists.ozlabs.org) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4gGNYG3H94z2xdL for ; Thu, 14 May 2026 18:20:02 +1000 (AEST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C349966E63; Thu, 14 May 2026 08:19:59 +0000 (UTC) Authentication-Results: smtp-out2.suse.de; none Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id E1482593A9; Thu, 14 May 2026 08:19:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 6mLZNK6FBWrTIQAAD6G6ig (envelope-from ); Thu, 14 May 2026 08:19:58 +0000 Date: Thu, 14 May 2026 10:19:57 +0200 From: Oscar Salvador To: Muchun Song Cc: Andrew Morton , David Hildenbrand , Muchun Song , Michael Ellerman , Madhavan Srinivasan , Lorenzo Stoakes , "Liam R . Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Nicholas Piggin , Christophe Leroy , Ackerley Tng , Frank van der Linden , aneesh.kumar@linux.ibm.com, joao.m.martins@oracle.com, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/69] mm/sparse: Move subsection_map_init() into sparse_init() Message-ID: References: <20260513130542.35604-1-songmuchun@bytedance.com> <20260513130542.35604-8-songmuchun@bytedance.com> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260513130542.35604-8-songmuchun@bytedance.com> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Rspamd-Queue-Id: C349966E63 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Action: no action On Wed, May 13, 2026 at 09:04:35PM +0800, Muchun Song wrote: > subsection_map_init() is part of sparse memory initialization, but it is > currently called from free_area_init(). > > Move it into sparse_init() so the sparse-specific setup stays together > instead of being split across the generic free_area_init() path. > > Signed-off-by: Muchun Song > Acked-by: Mike Rapoport (Microsoft) Acked-by: Oscar Salvador -- Oscar Salvador SUSE Labs