Message ID | 20221130200937.118005-5-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1128406wrr; Wed, 30 Nov 2022 12:11:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ttptQBfliGxQJkrHfg6s/PB8SptKdB8u1cUzCUibxaDi8q1BHzNd5gcI8tHMkbOxPkVEg X-Received: by 2002:a17:902:e548:b0:186:8d46:c3 with SMTP id n8-20020a170902e54800b001868d4600c3mr8135204plf.49.1669839103320; Wed, 30 Nov 2022 12:11:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669839103; cv=none; d=google.com; s=arc-20160816; b=gl3AVNY9lxNnALO9Hx2UKwPZQhK3iEOL8g3cgEAM/f9obcw6CRttdkKYeUVU/9CgKX L90IpRrrQpm2KbLcVxFEbSMawiCi10aaKmvIkybjG0bGN5cyq8pshrXKHIVAJIfZrvaT r3cMKGDBtAmBsWdlwPhtyJhVPHH82eCljabcZakQL+Yw806KWO5qD9nmYI+r7uisbe3b KrVKWQdt3fJWi864aWkbNVncJjBT+3VR1klWb4x8BIw89DS0XUgjzqhZ6AgbFC7+2XUC 5YHynwxRaakHgUOZ2sJQlJMYnqv+pTF/8KKjjRICNwnuQWOHiHma5N7aNfBrjQKZ2O77 NRVA== 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=vvd7VIY3E2fb0b6B1lCyCZF6kEVIsBEC2F3qsYkpFaU=; b=G55SDd/nnyR/ppCCXRjMrMF3k/szcTBs3q2xQ2+Wv6I6ivzU5tfhcB8FGG6W0qJFqp n34g38PgK213mZAJJRjHCBvfLXRpgKxzFXmSiT/S1DErkZ2XVmCAWI+BudvINT6WX7Wl cePb8i8MsVA9vjgptd9mAL2krA/HlHU1eJDpPxJ8tUfxGKmdT8sPq9VHjx7RapqC2kXq 0ZAUwoPB18M6MpMwFpf9/ACUfVbYDc5az+MT138vIj1VwDO2i9RVPVi3H3i8wl+wce7C Q5LtQL+pbb94p1I6NGSbx7S2ib6TFpZAiGAs7Q/uc6ZsoMRdULzXl5yErx3FmAEmwZan VKPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XsbL+COv; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m10-20020a170902bb8a00b0018919169bc4si1945432pls.430.2022.11.30.12.11.30; Wed, 30 Nov 2022 12:11:43 -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=@kernel.org header.s=k20201202 header.b=XsbL+COv; 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 S229854AbiK3UJy (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 30 Nov 2022 15:09:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbiK3UJp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 30 Nov 2022 15:09:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 976418C6A1; Wed, 30 Nov 2022 12:09:44 -0800 (PST) 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 329A961DB3; 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 <sj@kernel.org> To: SeongJae Park <sj@kernel.org>, Andrew Morton <akpm@linux-foundation.org> Cc: Jonathan Corbet <corbet@lwn.net>, 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750953207617058623?= X-GMAIL-MSGID: =?utf-8?q?1750953207617058623?= |
Series |
implement DAMOS filtering for anon pages and
|
|
Commit Message
SeongJae Park
Nov. 30, 2022, 8:09 p.m. UTC
Document the newly added 'skip_anon' parameter of DAMON_RECLAIM, which
can be used to avoid anonymous pages reclamation.
Signed-off-by: SeongJae Park <sj@kernel.org>
---
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 -----------