Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2017730rwb; Wed, 30 Nov 2022 00:50:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf5m9yU7B8snFVH+vqgK7tdTqXFNP8N6yyvQtR/VVDP6oh0hQsNXyFXqEpCJVfd1pykiTwPs X-Received: by 2002:a05:6402:4d6:b0:458:789b:c1b0 with SMTP id n22-20020a05640204d600b00458789bc1b0mr43733559edw.89.1669798217553; Wed, 30 Nov 2022 00:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669798217; cv=none; d=google.com; s=arc-20160816; b=O1SghWpa4HU9cZGt+Bhw7NV5j/JhW3zidn03vKYfDErn+vdiYzauaH3h4axpodIVko wcRre55SuCESM1C9lpkrWQbQTKmLuAqomX8QnGUWKszmV5XFCBUF2u7Q3f0Lk0dMN3VE cS0wJkY8vKqnhh0D3XgsLm1x9iNzynKERBx19gyjl6RsHqB5yIez9rEzI9VOiior7IzU jYvkLZKGMBfaa2sflHv9cOn0cm4OBlkV4UYWS68F2AwsgjZsTBClsigrSerud9cELftT wDkytU3+n2956GhpwF7GMdbBC7XxwoLRpV4eDdddXa6Jjs3XuCBShVN43pwoTvwIuh13 DJuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nX9u5Fipz7QbP1G6lS7SK8y5UdXxGb4XBtSgvsH1ex8=; b=ArWEFdWuzz3dKU9zOomvc5Y/IN4Gnh1nGcrFYAsE/wPeXHBgYyYhFssgOo8H4++f+k u9h4DPnJAo9yfHfP4t3xFMUPt3FHtnVCF+N5jf1E1hPmXxN9EUWKfK4p4LZNJ6skdLNw payCwhZ1pZB+Vs0fGxjz+wcrJ5QWrAOSAqtF2P5nmdOiMCL976pDweDxhJu9DmeDv1jV Pjfl76KCsN28Ly+e0F+QL4+KZKtlyKflLVE5A38/YE5Oa4qD0vbMu74PUuDrEQfKGN4U Sefv0L5zRgOYv7gBAtKpYnh1x+8UOHUaOF20XODrfTz2ZrSKJTprhMeCq5ghxmglkhWH fVTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HGg1XUBO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a056402084a00b00461bbc0f917si799361edz.605.2022.11.30.00.49.57; Wed, 30 Nov 2022 00:50:17 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=HGg1XUBO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234376AbiK3Io7 (ORCPT + 84 others); Wed, 30 Nov 2022 03:44:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236672AbiK3IoV (ORCPT ); Wed, 30 Nov 2022 03:44:21 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B66430F75; Wed, 30 Nov 2022 00:44:19 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id t17so15067141pjo.3; Wed, 30 Nov 2022 00:44:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nX9u5Fipz7QbP1G6lS7SK8y5UdXxGb4XBtSgvsH1ex8=; b=HGg1XUBOCu82ZW+TXKFrDzMOhzT3qhH5/0+upzC/MFORU/djS9EShs8RWQGhA54loM +k6NJCRNXDJNxM6sbRBwiIBo/OcIM0fhyianG1qSBJ5Wmx9QHrGTh/KbDnS09g3nvbmJ NIG9Wvn+WzT/MVyJpUH04RIow7GXkhx9+9THVjE7EmjkRTjfj4u5BeRoil9YD6Y73UzQ Egf8NgiZqcJh1NuoRJc0KeI1QHGOtEM9BO/x9WU+eKo1jVIZEfrKLgh68gIcU2WSTHEv p6AhzxuMSRWx4Jq0+gGOvstl9MGxxHf483dY52Nn2Lyndh6M1j7/s5mIL65cOYy3UIGy gwdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nX9u5Fipz7QbP1G6lS7SK8y5UdXxGb4XBtSgvsH1ex8=; b=RC1oF1PIGiiKJCZWWoij6uUGlNbJeLxnZHA9lFtpabg84n0C7WldFuN9K+ZR9co/QW TMC0XKbyd0tQDCe9qUs+AZiMvivcfii5Z1FNQMUl6jBAx4SpZQMI/bXVc8kc/4MDBlrx VId2pwWbgLhwvQMIQT6Z3S7hvHZmMYUQtHrOBOPI1ZrfPwYbCN9RleA70H2pDANww+9r VRJsjcEuPN9WiB/LCdjHZkAhmTGiu4uPyLZ/K5zn5F+CR8YEXhJldVx8IwqZE8KFF095 sWUgT0P0QfcUIfVK4hIYfrAAHCNrwqRNyLK7bG30BQGjMVDByYBSOz2Zp28mv3LSzTDt D/mA== X-Gm-Message-State: ANoB5pn0XuM0oiRrgNvyIE6dWYYU/nrxRNvZbHay1gmsYCkbCNLx0++B 0Hqkxn435x/MYDp7HlECyjM= X-Received: by 2002:a17:90a:7b82:b0:219:629a:8ad8 with SMTP id z2-20020a17090a7b8200b00219629a8ad8mr2465244pjc.159.1669797859148; Wed, 30 Nov 2022 00:44:19 -0800 (PST) Received: from [192.168.43.80] (subs02-180-214-232-19.three.co.id. [180.214.232.19]) by smtp.gmail.com with ESMTPSA id c6-20020a170902d48600b0017f72a430adsm824570plg.71.2022.11.30.00.44.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Nov 2022 00:44:18 -0800 (PST) Message-ID: <7c5e0ca5-0ad1-452d-60b9-50dbb63d2dee@gmail.com> Date: Wed, 30 Nov 2022 15:44:11 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [RFC PATCH v2] mm: Add nodes= arg to memory.reclaim Content-Language: en-US To: Mina Almasry , Huang Ying , Yang Shi , Yosry Ahmed , Tim Chen , weixugc@google.com, shakeelb@google.com, gthelen@google.com, fvdl@google.com, Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , Michal Hocko , Roman Gushchin , Muchun Song , Andrew Morton Cc: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20221130020328.1009347-1-almasrymina@google.com> From: Bagas Sanjaya In-Reply-To: <20221130020328.1009347-1-almasrymina@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS 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 11/30/22 09:03, Mina Almasry wrote: > - This file accepts a single key, the number of bytes to reclaim. > - No nested keys are currently supported. > + This file accepts a string which contains the number of bytes to > + reclaim. > Amount of memory to reclaim? > + This file also allows the user to specify the nodes to reclaim from, > + via the 'nodes=' key, example:: > + "..., for example" > + echo "1G nodes=0,1" > memory.reclaim > + > + The above instructs the kernel to reclaim memory from nodes 0,1. > + Thanks. -- An old man doll... just what I always wanted! - Clara