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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A5FCC433F5 for ; Fri, 8 Oct 2021 14:10:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id ECBA161042 for ; Fri, 8 Oct 2021 14:10:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ECBA161042 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 6BB876B0071; Fri, 8 Oct 2021 10:10:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 66E22900002; Fri, 8 Oct 2021 10:10:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 55A716B0073; Fri, 8 Oct 2021 10:10:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0025.hostedemail.com [216.40.44.25]) by kanga.kvack.org (Postfix) with ESMTP id 426446B0071 for ; Fri, 8 Oct 2021 10:10:19 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id E015E39B93 for ; Fri, 8 Oct 2021 14:10:18 +0000 (UTC) X-FDA: 78673454916.24.1D4FB46 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf29.hostedemail.com (Postfix) with ESMTP id 56EB49013A47 for ; Fri, 8 Oct 2021 14:10:18 +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-out1.suse.de (Postfix) with ESMTPS id DFAA322304; Fri, 8 Oct 2021 14:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1633702216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dbOqtnTDCJEewuTVp7hVAJPXdVhDLcSCoGXQKCOWG+I=; b=DfF0JRwcVjPIuDNF7x5Qia4uC4GS7PTWys8Y0zwJjBujB6kEPT2yN9qNrSLdEOZGVEYscp zlbyvBVvWYtmBqQo881jy3CZrwcwRIaTfAla5zmW+YukVCnFMsgM9fxeWvNGCuFXpMthTD G8pjHqoXvhkni5NFQw7TLhipRRdJtXQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1633702216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dbOqtnTDCJEewuTVp7hVAJPXdVhDLcSCoGXQKCOWG+I=; b=YHfZQ+N3x7ZxBZ+V+8afL67f1C+/6bnb4ShnC+us5YMMCjQca7kmT93m/mqSMv1trWbb9y jrg7yUT7dRNfPzBQ== 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 CCD5D13EC3; Fri, 8 Oct 2021 14:10:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id dwspMUhRYGHFfgAAMHmgww (envelope-from ); Fri, 08 Oct 2021 14:10:16 +0000 Message-ID: <2f54d5c5-213a-fdb4-aa54-eacd81a93a5c@suse.cz> Date: Fri, 8 Oct 2021 16:10:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] mm: fix a comment Content-Language: en-US To: Yinan Zhang , akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20211008140312.6492-1-zhangyinan2019@email.szu.edu.cn> From: Vlastimil Babka In-Reply-To: <20211008140312.6492-1-zhangyinan2019@email.szu.edu.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 56EB49013A47 X-Stat-Signature: 9qcgh9zf55to5ey8q95t7s3fpwdy64r8 Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=DfF0JRwc; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=YHfZQ+N3; spf=pass (imf29.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none X-Rspamd-Server: rspam06 X-HE-Tag: 1633702218-71543 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 10/8/21 16:03, Yinan Zhang wrote: > I have noticed that the previous macro is #ifndef CONFIG_SPARSEMEM. > I think the comment of #else should be CONFIG_SPARSEMEM. Right. > Signed-off-by: Yinan Zhang Acked-by: Vlastimil Babka > --- > mm/page_ext.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/page_ext.c b/mm/page_ext.c > index dfb91653d..106079e67 100644 > --- a/mm/page_ext.c > +++ b/mm/page_ext.c > @@ -201,7 +201,7 @@ void __init page_ext_init_flatmem(void) > panic("Out of memory"); > } > > -#else /* CONFIG_FLATMEM */ > +#else /* CONFIG_SPARSEMEM */ > > struct page_ext *lookup_page_ext(const struct page *page) > { >