Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4713769rwb; Tue, 6 Sep 2022 11:26:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7jAZ9QF4zwL2Vl/U0BTDIAzMEKfb3bLJ4/07oMtClKkHgJqjCJcVD2sCZP4QwChEPedMhV X-Received: by 2002:a17:902:7b95:b0:172:9dc3:6c12 with SMTP id w21-20020a1709027b9500b001729dc36c12mr55964696pll.94.1662488803961; Tue, 06 Sep 2022 11:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662488803; cv=none; d=google.com; s=arc-20160816; b=JkO/J7wFjPzBFsHY7xJr3UwLKs2h3BdqJktasH6jkIubSBPowP1wByiO4vKtEV5N2M Movj28/2HyR3g9PxvNFlsV5qMHdHAbviiKIs0Apyh95FdNi/c+c1yw/feYe6jGHO3Kwk qoDWfrNGtJ6BKYzF7JdQBF7fh9S0QNdBMLzK/zG5BkiIJfjQbz0O0NGxK/Ek6nUvrCSp NLskHds+fVX1oMFPNVBAPawNcbCzY8Aga+hqk3Afu4lkZZJrhgmPvBThi46jOymyI7Z3 ey4+CXtj/nz0MLbc8lkjnMnnF+2WJmalbqkmzhNskvQblKUGkrCcyHVUtX5pfEgutYzk LEWQ== 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=1ejsbWc7jxzdVv9EfTlV6LG/ILo5vqEFK0R9Sl/pPsw=; b=scs9XCx+4mFeeZOAKp/xXv4sG8uCqKH6FpV4Xk0ZrXmEsDRSWFjmHCIV04loIHIuEK M4ZGYprhZTwXWSWi5/Nd0PCH2Qj56qS4ls3P1nGnp6BVyeKbG2UD2qJiyGJ2ig1kVP+u bqTuTM1jT4T8XEk4DXcVbAEmlbxj7JcUA6jmVADKLewoasFko1z36cDAHGQg+rmm0Rhn NVQhXnWGTEBSlFjXhiD6PQzNDapmkqLsPZmRW01CA8taSaAv99cuW36jrAmXgC1ULs/w XJEO52oMis9s3jNgvPANFNwPY4lCros3jyUPxVl+5t7BbG5OLfckw1KPYuMWjE0gQy/4 i6ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RcFeeBEB; 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 n6-20020a170902d2c600b001766917ea92si14650301plc.601.2022.09.06.11.26.31; Tue, 06 Sep 2022 11:26:43 -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=RcFeeBEB; 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 S229834AbiIFSXo (ORCPT + 99 others); Tue, 6 Sep 2022 14:23:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229799AbiIFSXm (ORCPT ); Tue, 6 Sep 2022 14:23:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F76499263 for ; Tue, 6 Sep 2022 11:23:40 -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=1ejsbWc7jxzdVv9EfTlV6LG/ILo5vqEFK0R9Sl/pPsw=; b=RcFeeBEBSNmBmJhbE5bo1gSZ/S Q0PPGU/Y24JkA4LbeK/L6cNKW9pN+rJSZKAS/PLfwAxf70EubNOTY90DX//vg7TDOnbRcuEC1kqJ6 yyfyXhPPAeEEq+FEcfE4nY/EZcL8lcm5GviAzxj13p8uBlJleJo+geC8AMCgpLmRnmRy/UBRw75GZ WbQ9ldohcl0U82HjcvImBEgkHAZulUrCLUbI0o8ZhQ2qqYufjlPRz0X1HR3cAITvHUNPnYYl9VhTh euUoKXcggwKM34/V9DgpcyCiZOguaWuyI6Ult8FqgoT1LKR08JkecWnw1wJyvv1V6yCbS9zp1R9I1 xx1W8P1g==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVdDz-00GKFq-Le; Tue, 06 Sep 2022 18:23:03 +0000 Date: Tue, 6 Sep 2022 11:23:03 -0700 From: Luis Chamberlain To: Wupeng Ma Cc: akpm@linux-foundation.org, david@redhat.com, npiggin@suse.de, ying.huang@intel.com, hannes@cmpxchg.org, corbet@lwn.net, mgorman@suse.de, keescook@chromium.org, yzaikin@google.com, songmuchun@bytedance.com, mike.kravetz@oracle.com, osalvador@suse.de, surenb@google.com, rppt@kernel.org, charante@codeaurora.org, jsavitz@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel test robot Subject: Re: [PATCH -next v3 2/2] mm: sysctl: Introduce per zone watermark_scale_factor Message-ID: References: <20220905032858.1462927-1-mawupeng1@huawei.com> <20220905032858.1462927-3-mawupeng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905032858.1462927-3-mawupeng1@huawei.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Sep 05, 2022 at 11:28:58AM +0800, Wupeng Ma wrote: > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > index 205d605cacc5..d16d06c71e5a 100644 > --- a/kernel/sysctl.c > +++ b/kernel/sysctl.c > @@ -2251,8 +2251,6 @@ static struct ctl_table vm_table[] = { > .maxlen = sizeof(watermark_scale_factor), > .mode = 0644, > .proc_handler = watermark_scale_factor_sysctl_handler, > - .extra1 = SYSCTL_ONE, > - .extra2 = SYSCTL_THREE_THOUSAND, > }, > { > .procname = "percpu_pagelist_high_fraction", Please move the sysctl from kernel/sysctl.c to mm/page_alloc.c while at it, you can git log the kernel/sysctl.c for prior moves and for the motivations. No need to keep expanding on the existing table. Luis