Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp445466iol; Thu, 9 Jun 2022 07:02:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGYIR9Q8TFL4oCoS8iGa1HAxT2YWk2ymmeDzfkTCuotpOqilIrxKZ78uJ5wc7ErbRel6Sj X-Received: by 2002:a05:6402:40c6:b0:42f:9ff8:62f8 with SMTP id z6-20020a05640240c600b0042f9ff862f8mr34974637edb.95.1654783362960; Thu, 09 Jun 2022 07:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654783362; cv=none; d=google.com; s=arc-20160816; b=KMXBoggrNEpniANhhtgXh+vnd12fTe0l3PAXJM6C97pSySDy16OHrvyh5TitbWVSA7 KZ1Q56cZfqGa6wVkrvTjb2w2I3lPn8EmJCPmqtQc52GrR36mwRXBKlt5SMvBJZfjIO+W S8zppgaPCsTDsuNUIDFXjz03iWLSstkjGFLLo/CVp8HD8y3EN7Abuhp63KUcnChuCgbT JHSEVO10CzdD7/B2xmTIaWqSKl3x5DI4gQ5LPbjDOS+LhQzx0HFCQgVtkCTueWOAzZ/o S1oqMgtkaLCYI8H125peWSwvbTdRB2CE+63yn8u21zxItfD0p8oQWgmT4354YosM7qRK uoFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OMC1sUVQLs6fZQNfeuWq1wWHGIfJxaObEnYZgL5kSsM=; b=C9nmct4h4wh12sdQjZ2vBgE/CXhrfWLOUMwftd0khzmt2ho0jZp118bVAkXuStZRzn 2vn6WsY8s/RSBB4f7diFYNd46n+JlWJ514O+St0+LRci45HKpLo+cq8p+txcieqLJfVs iD6PSytKhRVhQH8koHGXgK8+OyO3kSWLhgwnYKmH+3O6+sNmWbWsFeg6+vMX35rJueZx UmU4Y/mYMKZerjBSMpnFwC7+Goas9VC0mCiM+/t/YhG7PtX/v1T2ZScULqQ+UFoR09Vf zxlAFvmasqj2S0KIYCuFfzPyUduejraTxtbUls6MR7ueAv3NZpU+0nvr2pCvDFX2s58p uaAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RUCdtNsk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go12-20020a1709070d8c00b00710e9e0a239si17943251ejc.919.2022.06.09.07.02.03; Thu, 09 Jun 2022 07:02:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RUCdtNsk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239686AbiFINyI (ORCPT + 99 others); Thu, 9 Jun 2022 09:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236453AbiFINyG (ORCPT ); Thu, 9 Jun 2022 09:54:06 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB98E17328E; Thu, 9 Jun 2022 06:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OMC1sUVQLs6fZQNfeuWq1wWHGIfJxaObEnYZgL5kSsM=; b=RUCdtNskO4cmCafm6v0q0U25P7 I/hXHxTW0wzvKNnWvXnG5KOARelAzgr+GiaINTNdFTDPpk7w1OIEUimcmQpM1ahNr4D7gUK8bYfbr wxwzLDKlN1dobQO/kDf5fYmym5+HOJahS3cuedPmQC8XDmxG2s7EjQuiW9dh2J7N0JJPK75wqjrO7 SWmWbSoH0jPOvWOecjbJZzQI1cWDaYo98uB+rTC5vgnjnt68KfteBn4ylCGIaCaMKuWsN74NEwjpc Ib520xGXzm2DlXviPbvneBWCI4M75hft1muG3LY+8Mg3siUFnKKYy9agJMjyA8PrMrgDUMrNZsFpV N8calTDw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzIbg-002KfG-8W; Thu, 09 Jun 2022 13:53:52 +0000 Date: Thu, 9 Jun 2022 06:53:52 -0700 From: Luis Chamberlain To: Muchun Song Cc: keescook@chromium.org, yzaikin@google.com, akpm@linux-foundation.org, vbabka@suse.cz, mgorman@techsingularity.net, 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: References: <20220609104032.18350-1-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220609104032.18350-1-songmuchun@bytedance.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Thanks! Queued onto sysctl-fixes. Luis