From patchwork Tue Sep 26 04:09:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roesch X-Patchwork-Id: 13398639 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 60FD5E81817 for ; Tue, 26 Sep 2023 04:10:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F0E156B018F; Tue, 26 Sep 2023 00:10:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EBEF96B0190; Tue, 26 Sep 2023 00:10:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DAD6D6B0191; Tue, 26 Sep 2023 00:10:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id CCEC16B018F for ; Tue, 26 Sep 2023 00:10:40 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id AE12C1A0ECD for ; Tue, 26 Sep 2023 04:10:40 +0000 (UTC) X-FDA: 81277422240.11.6095316 Received: from 66-220-144-179.mail-mxout.facebook.com (66-220-144-179.mail-mxout.facebook.com [66.220.144.179]) by imf08.hostedemail.com (Postfix) with ESMTP id 17251160008 for ; Tue, 26 Sep 2023 04:10:38 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf08.hostedemail.com: 66.220.144.179 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1695701439; 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; bh=k8NgTpKmmuGsb/3inQnuQsluCd3KJ2GgD7vI0QdXM9I=; b=AIyZOLYJn1psOrtd2KgaSsIg6GcsTN6j3GEMDzmACAra2Nv9tYPiVSzhSfMqizHY9K3sPO lFdCznpeahvhZrs6stsXQRX8CGd+V2uznvh4hFmWXyv6OLTypNw1tSv8NFv2MTODYVQiDW P0TkU5mxm0uF/RHmqMWkVOh3Mz6iB3c= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf08.hostedemail.com: 66.220.144.179 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1695701439; a=rsa-sha256; cv=none; b=76rU8cxhULTjPHmUFITwyY8mnGba1x7JhVQ7uzao2ctJ4w+KWTJhcednk7QQZG9i/QNyaD byCMm8GM72aJYeEijXOxxf+TUpPj4+ouPt0mCBr0zeckNHLYAz2oLCaTbVGt3BM4n+ECC7 0mtqkRQaJVxg5vcOMnW9bEHjB387ysg= Received: by devbig1114.prn1.facebook.com (Postfix, from userid 425415) id D82EAC8F2513; Mon, 25 Sep 2023 21:09:48 -0700 (PDT) From: Stefan Roesch To: kernel-team@fb.com Cc: shr@devkernel.io, akpm@linux-foundation.org, david@redhat.com, hannes@cmpxchg.org, riel@surriel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v3 4/4] mm/ksm: document pages_skipped sysfs knob Date: Mon, 25 Sep 2023 21:09:39 -0700 Message-Id: <20230926040939.516161-5-shr@devkernel.io> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230926040939.516161-1-shr@devkernel.io> References: <20230926040939.516161-1-shr@devkernel.io> MIME-Version: 1.0 X-Rspamd-Queue-Id: 17251160008 X-Rspam-User: X-Rspamd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lVc8MP6ENmfPHe3xc4QuJATicH5EuDRMVJeHE22RgT1QFk2wxb+mki+BOwvyRg4Y5OSvM+cLQ== 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: This adds documentation for the new metric pages_skipped. Signed-off-by: Stefan Roesch Reviewed-by: David Hildenbrand --- Documentation/admin-guide/mm/ksm.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/admin-guide/mm/ksm.rst b/Documentation/admin-guide/mm/ksm.rst index 1762219baf51..27d949250b67 100644 --- a/Documentation/admin-guide/mm/ksm.rst +++ b/Documentation/admin-guide/mm/ksm.rst @@ -178,6 +178,8 @@ pages_unshared how many pages unique but repeatedly checked for merging pages_volatile how many pages changing too fast to be placed in a tree +pages_skipped + how many pages did the "smart" page scanning algorithm skip full_scans how many times all mergeable areas have been scanned stable_node_chains