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 8DBEEECAAA1 for ; Thu, 15 Sep 2022 04:41:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EFF476B0071; Thu, 15 Sep 2022 00:41:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EAE7D8D0002; Thu, 15 Sep 2022 00:41:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D4F858D0001; Thu, 15 Sep 2022 00:41:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id C45526B0071 for ; Thu, 15 Sep 2022 00:41:39 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id A05CC16027D for ; Thu, 15 Sep 2022 04:41:39 +0000 (UTC) X-FDA: 79913071518.12.540BFA4 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf09.hostedemail.com (Postfix) with ESMTP id 36B711400B9 for ; Thu, 15 Sep 2022 04:41:38 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 533B75C6FB; Thu, 15 Sep 2022 04:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1663216897; h=from:from:reply-to: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=z40iVhJ3Z/6gqcr3IicdzwQu/37J/aSyAhG2LfZj6I0=; b=DqcO26Dwy0SIV9Qg58csd3ylDvUr0jGGJ1qRIQijEdpkcUsfdjuidp9LtlepJs9fKGpkcV fJvV3srytNwsju9t5P+ExQfZL9jkn/JHgs33iGEPFh9KJqXFKyf+vYOxFzkeZBxyJmr7ym aEBt6Kw+Xpx2kUyejhksmcFEyjWoiZI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1663216897; h=from:from:reply-to: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=z40iVhJ3Z/6gqcr3IicdzwQu/37J/aSyAhG2LfZj6I0=; b=UTyQ1yo6qwWROFZgQYPuv4u3jyRudlC9eTWygKgJeFu1+IGpJ1ANCjS585LBjm43K5nupA Y/DH8ZZn6fS6aLAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EA6F6139C8; Thu, 15 Sep 2022 04:41:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Vi6vNACtImNFKgAAMHmgww (envelope-from ); Thu, 15 Sep 2022 04:41:36 +0000 Date: Thu, 15 Sep 2022 06:41:35 +0200 From: Oscar Salvador To: Miaohe Lin Cc: akpm@linux-foundation.org, david@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/16] mm/page_alloc: make zone_pcp_update() static Message-ID: References: <20220909092451.24883-1-linmiaohe@huawei.com> <20220909092451.24883-3-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909092451.24883-3-linmiaohe@huawei.com> ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=DqcO26Dw; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=UTyQ1yo6; spf=pass (imf09.hostedemail.com: domain of osalvador@suse.de designates 195.135.220.29 as permitted sender) smtp.mailfrom=osalvador@suse.de; dmarc=pass (policy=none) header.from=suse.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663216899; a=rsa-sha256; cv=none; b=miTXW8NdP8wnJSukkRY9PZIVHMOmn2htXHNH/o47Ipigwi1OWpKbYTd7vrpg6EAhP1Ax// 5DvA7b+o5EXLO935R5BzimB0nex0fqFTd96tN30BRy1uPAGmhjZfClOJEw8x9wxGLYVLmq 97JB5S58WwAYQCzEO2dKtaGWB73whfQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663216899; 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=z40iVhJ3Z/6gqcr3IicdzwQu/37J/aSyAhG2LfZj6I0=; b=Np6CK6s9VW0ir0SBGAfh7aixbIyvLK/YX6yCbAlGCbGqpp5FLt5ezyIRoA75GTOqzOeP0v V7ugdhrmeLTXgJldBt13aLEhinjhakHFFGg1+V2HT8v9NjfJgxWKvntv6dpSHW4N7EEtg0 qWLVYNyNJvUMloVfpSc5vkjbKP63PX4= X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 36B711400B9 X-Rspam-User: Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=DqcO26Dw; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=UTyQ1yo6; spf=pass (imf09.hostedemail.com: domain of osalvador@suse.de designates 195.135.220.29 as permitted sender) smtp.mailfrom=osalvador@suse.de; dmarc=pass (policy=none) header.from=suse.de X-Stat-Signature: 4umwcj4d8shstjg3dh3b7i5741mpq61d X-HE-Tag: 1663216898-53813 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 Fri, Sep 09, 2022 at 05:24:37PM +0800, Miaohe Lin wrote: > Since commit b92ca18e8ca5 ("mm/page_alloc: disassociate the pcp->high > from pcp->batch"), zone_pcp_update() is only used in mm/page_alloc.c. > Move zone_pcp_update() up to avoid forward declaration and then make > it static. No functional change intended. > > Signed-off-by: Miaohe Lin Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs