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 B1AA7C43334 for ; Thu, 9 Jun 2022 15:15:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D5EFA8D0026; Thu, 9 Jun 2022 11:15:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D0DFF8D0022; Thu, 9 Jun 2022 11:15:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BFCE08D0026; Thu, 9 Jun 2022 11:15:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id B1C708D0022 for ; Thu, 9 Jun 2022 11:15:22 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 488B11585 for ; Thu, 9 Jun 2022 15:15:22 +0000 (UTC) X-FDA: 79559046084.06.80988FE Received: from outbound-smtp47.blacknight.com (outbound-smtp47.blacknight.com [46.22.136.64]) by imf11.hostedemail.com (Postfix) with ESMTP id 5519240077 for ; Thu, 9 Jun 2022 15:15:21 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp47.blacknight.com (Postfix) with ESMTPS id 46E2FFACA5 for ; Thu, 9 Jun 2022 16:15:18 +0100 (IST) Received: (qmail 23872 invoked from network); 9 Jun 2022 15:15:18 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 9 Jun 2022 15:15:17 -0000 Date: Thu, 9 Jun 2022 16:15:16 +0100 From: Mel Gorman To: Muchun Song Cc: mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com, akpm@linux-foundation.org, vbabka@suse.cz, peterz@infradead.org, dhowells@redhat.com, willy@infradead.org, Liam.Howlett@oracle.com, mhocko@suse.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, stable@vger.kernel.org Subject: Re: [PATCH v2] mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE Message-ID: <20220609151516.GA30825@techsingularity.net> References: <20220609104032.18350-1-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20220609104032.18350-1-songmuchun@bytedance.com> User-Agent: Mutt/1.10.1 (2018-07-13) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1654787722; a=rsa-sha256; cv=none; b=kdgcvBZEWMtUij6jbWSKgb/+SFU5SexacWlPLx3sJj8h3Hv+rvO0YfqIhxj3uxHRQpliJm AGcot/2Tsmya1LGw0vWPvPem05p7ZdbYyCKH2xTbm9P6M4sbF4SAjQCgbGGvwwIYzLYH5M JAgZbHG+SUia+Fgb4mgxuwdI7QvKAsQ= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of mgorman@techsingularity.net designates 46.22.136.64 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1654787722; 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; bh=GViOxLh/L9Z1BaBIaaVBUq7TYT5YUplZnmqvB9r+mo0=; b=UiSL3FTPWCuSm6ceKnTVwWwQ8i1eYNzF7DeU7QalDshMRNjxBqFDT8tfMbMeAW/o9Qbuh/ VjCo0FAYPYR1s3EKgapCsQdXGrGvm+DhFW5ty1TkFCjd7XuLr8mAbV1vUKA0szVD38tnBc jG1Z6WdaAsnBcWLbGqzMnJ+AFLr+/Wo= X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 5519240077 X-Stat-Signature: yjihrabzh9ame5ztgunbba1cg5xq6a37 X-Rspam-User: Authentication-Results: imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of mgorman@techsingularity.net designates 46.22.136.64 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net; dmarc=none X-HE-Tag: 1654787721-716923 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 Thu, Jun 09, 2022 at 06:40:32PM +0800, Muchun Song wrote: > "numa_stat" should not be included in the scope of CONFIG_HUGETLB_PAGE, if > CONFIG_HUGETLB_PAGE is not configured even if CONFIG_NUMA is configured, > "numa_stat" is missed form /proc. Move it out of CONFIG_HUGETLB_PAGE to > fix it. > > Fixes: 4518085e127d ("mm, sysctl: make NUMA stats configurable") > Signed-off-by: Muchun Song > Cc: Acked-by: Mel Gorman -- Mel Gorman SUSE Labs