Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2744335iob; Sat, 30 Apr 2022 18:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWdH3YKGujhSQHvdnsanJ7MiJDqE0dOAD/ogMXlqoNSgekEuoIOg1vm219kT4CTg5aCHeA X-Received: by 2002:a2e:914d:0:b0:24f:6374:3eba with SMTP id q13-20020a2e914d000000b0024f63743ebamr390500ljg.506.1651368643129; Sat, 30 Apr 2022 18:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651368643; cv=none; d=google.com; s=arc-20160816; b=jrNKMyZvu5GzLKZkgQDQJ151cw1fyYF1JRgH/3SScI9s8n9cQQPZ2PfHxzCUEdjS2a 6gmcg/mUzxgXg3Zz6fmOHOuRNPtvYBFn3+17DfW0mKG/6y17WG7tIFKjr1pyn0rxT48U v9EyV8UGfJFZbiXzawaNAibFzBte8Qgr9xOrTdLs++ykCdzLj+i0kWMkKwNN7j4YtPT8 zZiFwBPuRuAX4e3x8OOITiaGwXD/ziVQ0z4+gaw/NVhBcMN1tEyZgtnQEjct57Iqeudf YsVsTJjQ0gnqmMSr0sJ344459+xijNMn/TEke74+eVod6pMuyanEvkUDIkcIS73E6j8n XQ2Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P0kd0xUPGNpYoX/qnEsUDIhYYlMm0VZ1vhlbac8WlA4=; b=0nANtg3aw2e1155pm2mlhZn9LC+9qgHKYUV1yEzW2IQ7p5RA3jhCk4lDRO2zZTcp2C Uw1ZCQs5tDwwGAc7V4HXHxFEaCOEo2rCyuVCWbLcKGgO3SQoP7k370bWbIdYup3q2heY ux13BSB3X952DFnGSu4xlIXsEaqWD03wxXnzr5+XlegTb6Wex87RidhcraIQEYVGUd+e KhDAXAVgdoUCMm9+zXyrb6rrvQPs8XGmFuUHAaxv1wGRDeC6gvNwN42l72/5uz9qN1OV 3b1gKfubr9Oq/iEKRpV7Nj2/DufpyiSzPoXWbv1GrInR8aiVAg4LxM3L14/l+FCo19Ei gHMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l+taiSDw; 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 d13-20020a2e890d000000b0024f04bf8498si11490795lji.515.2022.04.30.18.29.15; Sat, 30 Apr 2022 18:30: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=@kernel.org header.s=k20201202 header.b=l+taiSDw; 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 S1378884AbiD2QKY (ORCPT + 99 others); Fri, 29 Apr 2022 12:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378836AbiD2QJn (ORCPT ); Fri, 29 Apr 2022 12:09:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 009DCA66C4 for ; Fri, 29 Apr 2022 09:06:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 90BC1622B3 for ; Fri, 29 Apr 2022 16:06:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9292CC385AF; Fri, 29 Apr 2022 16:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651248384; bh=sIJXJH2OsUzbfrsqqPxpgdbesc2kTA2xxcs6VJcOqzg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l+taiSDwqrJlK/ARQLYuP4sLTWza+1BlTmXp9MYF2rttBBqG/sIWtUQF9wyKOt0E8 +Mpq1IT7kT+4OH1LA2tr1NDiuxPxMOWLaHt9NcS0+SMVmkPGRr22e4KRWK27l4qJ8T 6OGWhsZSPyRbAB/GVMk4xAZ+Lx88Xiv0JQx87QFU2DDwk2fuKTtaE70EoNlpDMYbyj uSyL8ImYK1K7oqRQwQVoNb0Tih6oyQjUDIii31N1qW89KPzVZ8cDAKxqE5yj2l489w UlzJf930e1JHGZ3ZcgSGW+tT6lVBynuA9aVr9A63ZfrV4PhlA/VtKVRY3XXAHQfmAc fWPX1rk+RAaXg== From: sj@kernel.org To: akpm@linux-foundation.org Cc: linux-damon@amazon.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 14/14] Docs/admin-guide/mm/damon/reclaim: document 'commit_inputs' parameter Date: Fri, 29 Apr 2022 16:06:06 +0000 Message-Id: <20220429160606.127307-15-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220429160606.127307-1-sj@kernel.org> References: <20220429160606.127307-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: SeongJae Park This commit documents the new DAMON_RECLAIM parameter, 'commit_inputs' in its usage document. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/reclaim.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation/admin-guide/mm/damon/reclaim.rst index 0af51a9705b1..46306f1f34b1 100644 --- a/Documentation/admin-guide/mm/damon/reclaim.rst +++ b/Documentation/admin-guide/mm/damon/reclaim.rst @@ -66,6 +66,17 @@ Setting it as ``N`` disables DAMON_RECLAIM. Note that DAMON_RECLAIM could do no real monitoring and reclamation due to the watermarks-based activation condition. Refer to below descriptions for the watermarks parameter for this. +commit_inputs +------------- + +Make DAMON_RECLAIM reads the input parameters again, except ``enabled``. + +Input parameters that updated while DAMON_RECLAIM is running are not applied +by default. Once this parameter is set as ``Y``, DAMON_RECLAIM reads values +of parametrs except ``enabled`` again. Once the re-reading is done, this +parameter is set as ``N``. If invalid parameters are found while the +re-reading, DAMON_RECLAIM will be disabled. + min_age ------- -- 2.25.1