From patchwork Wed Nov 30 20:09:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13060346 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 948F6C352A1 for ; Wed, 30 Nov 2022 20:09:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CA90A6B0071; Wed, 30 Nov 2022 15:09:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C58BC6B0073; Wed, 30 Nov 2022 15:09:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AF9486B0075; Wed, 30 Nov 2022 15:09:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 9C7306B0071 for ; Wed, 30 Nov 2022 15:09:45 -0500 (EST) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 716F5A0FF9 for ; Wed, 30 Nov 2022 20:09:45 +0000 (UTC) X-FDA: 80191199130.30.CDA19A3 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf14.hostedemail.com (Postfix) with ESMTP id 1530C100007 for ; Wed, 30 Nov 2022 20:09:44 +0000 (UTC) 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 3298361D9A; Wed, 30 Nov 2022 20:09:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CE43C43470; Wed, 30 Nov 2022 20:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669838984; bh=ew0j918CPCZ3BCkCfl4ilV0ZC0sdlaLXkkNEQyNFiwY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XsbL+COvjvgKot+WGk8Bh1WRZz9wpWt4QxI1jWnHQ/jgVRU2/BaOelw9lolBjfLR3 QuyMEav1UneZQ7KX6Sf9YHsC4PXGGzmDlUR8h5+UCmFG82UfT+l31rF38bUhYWgjfV xnh5oDuMGSpfh49FDo7tamV37HyCyqOLo7WIOqoV7IB1ZY3Zcenprk0xewGVhvXHmt kMQo3Y8sHjWjNtFKu0nhSSEpgu7HZpFwCbv1T6PhgFYvY97AIDC+Q8ELPYLaBHa3QM +Bt/qATHcq9FV4BaPZQuaPELjNt0gDnbJDd00kHwfj5uYMv3xVxnntP57vD2UAhv5P UV72nW8PC4oOQ== From: SeongJae Park To: SeongJae Park , Andrew Morton Cc: Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 04/11] Docs/admin-guide/damon/reclaim: document 'skip_anon' parameter Date: Wed, 30 Nov 2022 20:09:30 +0000 Message-Id: <20221130200937.118005-5-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221130200937.118005-1-sj@kernel.org> References: <20221130200937.118005-1-sj@kernel.org> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669838985; a=rsa-sha256; cv=none; b=XImmfn7edwJgsIqEo3n50V2b+4PxhaMEZV1zGWt6MsuYfwHFifl8IkKlLQT4wl0FSmtUb1 PFn5rAQOYOgtejBJovAOC7QDK143nfeGP3CHtlT2Y0MK7mHVFz66r69KRBnUHtxKr5hIiX MynBuR0MRhpDoil3bqrQw8V1ZWEuS4Q= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=XsbL+COv; spf=pass (imf14.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669838985; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=vvd7VIY3E2fb0b6B1lCyCZF6kEVIsBEC2F3qsYkpFaU=; b=RxjX6SkEjd9BnFlsVeAxB6DSjfRJDHX18pbNoHPwQpPy+7ODEOvLxi7q8K1kKcWPQCVqZm LAM2ISTuMJKS5Gs4PIyVDnILN5ac8YXWgzgt+A5YJYKffwH64e+T3lbg+yfhgytFTuqJas KhQ5GxEpe5um3PicFJbaYoDSCT/lgL0= X-Stat-Signature: iiqckzwyq41arhnbfqae6dhb4meapbi9 X-Rspamd-Queue-Id: 1530C100007 X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=XsbL+COv; spf=pass (imf14.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspamd-Server: rspam05 X-HE-Tag: 1669838984-124044 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Document the newly added 'skip_anon' parameter of DAMON_RECLAIM, which can be used to avoid anonymous pages reclamation. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/reclaim.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation/admin-guide/mm/damon/reclaim.rst index 4f1479a11e63..ff335e96e0d8 100644 --- a/Documentation/admin-guide/mm/damon/reclaim.rst +++ b/Documentation/admin-guide/mm/damon/reclaim.rst @@ -205,6 +205,15 @@ The end physical address of memory region that DAMON_RECLAIM will do work against. That is, DAMON_RECLAIM will find cold memory regions in this region and reclaims. By default, biggest System RAM is used as the region. +skip_anon +--------- + +Skip anonymous pages reclamation. + +If this parameter is set as ``Y``, DAMON_RECLAIM does not reclaim anonymous +pages. By default, ``N``. + + kdamond_pid -----------