Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6677619ioo; Thu, 2 Jun 2022 11:22:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh4t/PFH4AcELtxxVYO0wqBBVdwGtyv4TtcxmYzlkM0a4539qhDN6xIo1EGwWFrAnm8tZq X-Received: by 2002:a05:6402:2995:b0:42a:843f:ac82 with SMTP id eq21-20020a056402299500b0042a843fac82mr6814091edb.370.1654194175056; Thu, 02 Jun 2022 11:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654194175; cv=none; d=google.com; s=arc-20160816; b=up2AqaaA3FwD8BE1jQAiUyr7VKihhRMRcWWM0k9KeCfp9NBYDlax3kwT9RPYAedB7T PcnJI/kgyrIykURSahfG/i5W0mUwwHJolxtfYJJXTQBGCNxqSV295t3gdvWVDPiYgYLg NznQya8fGbXGocfKGceagIWEB2A8LUyWoLvbTy4VCNAyBllR4Y7gi2t2V2GqU2ZzxDR4 /ItojW9DmYqlwos1GJ7DzcvVlaEYc93ejuESsNxaJVBvdMElpFVwFkAstiSqO8mNJoj2 /5fI13vs/oBdAJdVY1CUZZBDblF29G2rcN6g2VADc+TguYo7md3qjjcqXoxJEdqhyRiS Mebg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=TiFPBvaY9VL9zOHOZhLZO88ZZ96Ob3X2T0csMUvNCnc=; b=zZ1ewHAhqBmlRNfGfakZX/HBV+iFH0ZmGPCqUEGki+a0I2RpQ26g+nV7xnhcg4rGi5 +Qxpgm8ANhafV4sJBVbL4Mfrm3stFLPv1x7kKJnTSgh2a500V+5rnbFgF1Ir4ycO0qLF ZR//wmEyRog0oDnQWo+kk0JpayToCWn9UJ+5JGY9K/q4CLllhvbP4tQGOUdrAnNqo3va oH5joIV0IbkqVtpDoD7KzfiNfKxQjUhGhD0COZNbnV2l9JPjjhrqQt5Zw/ksITI3+aLF dyNxMpc5iCDJQdobv6m7ZbhFaloReJVYSFilO5Z4IgS0Zc9xHzy1JSh0tuvaq92QbwVO 1F5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cdga+2IJ; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709065d0a00b006ff27ae5427si6425708ejt.833.2022.06.02.11.22.28; Thu, 02 Jun 2022 11:22:55 -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=@intel.com header.s=Intel header.b=cdga+2IJ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbiFBGnu (ORCPT + 99 others); Thu, 2 Jun 2022 02:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231219AbiFBGns (ORCPT ); Thu, 2 Jun 2022 02:43:48 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94DFADF7A for ; Wed, 1 Jun 2022 23:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654152226; x=1685688226; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=KUS8mVgdTc5Hj0xMVFCoSGE47Yrh0WZN2tGJ3zjuvKw=; b=cdga+2IJg81u6D5Zx6HQhOTz3NYEY3s2/eobr7pmK9w9D3bY4xZp9dUp E0W+sKmSXR2ihkkqYYCO/VH2v6T2AB+4F16gLrtONv8CKKC02cCXbscOm JGotsms/nOlrFZ90z81s2WkyRrWppkEIvpYwDwWl1tsXROgKE1B0F8kO0 dKAPuvq06yCiso9i7svownivtJSrdvcvEam91zvB1mOdTtomi/Ns4ly8P 8ENwUhJOZXwmWQ+v267ZnAFAsUkRqCNhosfGpJ3SbaQvq3ouTqC+r+3TK Ibe2etcMLuDDWx7VKvhtUYatLsmyoByFYcRsngPihrqLYZ1fC5LwGFCvc Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10365"; a="275570229" X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="275570229" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2022 23:43:46 -0700 X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="606683307" Received: from yanqingl-mobl1.ccr.corp.intel.com ([10.254.212.10]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2022 23:43:41 -0700 Message-ID: <2316b2f571cd812b5c2e4335c2ed51a227005098.camel@intel.com> Subject: Re: [RFC PATCH v4 6/7] mm/demotion: Add support for removing node from demotion memory tiers From: Ying Huang To: "Aneesh Kumar K.V" , linux-mm@kvack.org, akpm@linux-foundation.org Cc: Greg Thelen , Yang Shi , Davidlohr Bueso , Tim C Chen , Brice Goglin , Michal Hocko , Linux Kernel Mailing List , Hesham Almatary , Dave Hansen , Jonathan Cameron , Alistair Popple , Dan Williams , Feng Tang , Jagdish Gediya , Baolin Wang , David Rientjes Date: Thu, 02 Jun 2022 14:43:38 +0800 In-Reply-To: <20220527122528.129445-7-aneesh.kumar@linux.ibm.com> References: <20220527122528.129445-1-aneesh.kumar@linux.ibm.com> <20220527122528.129445-7-aneesh.kumar@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 Fri, 2022-05-27 at 17:55 +0530, Aneesh Kumar K.V wrote: > This patch adds the special string "none" as a supported memtier value > that we can use to remove a specific node from being using as demotion target. > > For ex: > :/sys/devices/system/node/node1# cat memtier > 1 > :/sys/devices/system/node/node1# cat ../../memtier/memtier1/nodelist > 1-3 > :/sys/devices/system/node/node1# echo none > memtier > :/sys/devices/system/node/node1# > :/sys/devices/system/node/node1# cat memtier > :/sys/devices/system/node/node1# cat ../../memtier/memtier1/nodelist > 2-3 > :/sys/devices/system/node/node1# Why do you need this? Do you have some real users? Best Regards, Huang, Ying [snip]