From patchwork Tue Sep 12 17:52:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roesch X-Patchwork-Id: 13381989 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 12629EE3F00 for ; Tue, 12 Sep 2023 17:52:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6FB6F6B0132; Tue, 12 Sep 2023 13:52:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5D0B66B0133; Tue, 12 Sep 2023 13:52:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 29B8C6B013E; Tue, 12 Sep 2023 13:52:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 17A876B0132 for ; Tue, 12 Sep 2023 13:52:56 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id EB3BF1207ED for ; Tue, 12 Sep 2023 17:52:55 +0000 (UTC) X-FDA: 81228691110.20.80C042A Received: from 66-220-144-178.mail-mxout.facebook.com (66-220-144-178.mail-mxout.facebook.com [66.220.144.178]) by imf03.hostedemail.com (Postfix) with ESMTP id 5DA352002E for ; Tue, 12 Sep 2023 17:52:54 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf03.hostedemail.com: 66.220.144.178 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=1694541174; 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=9xcbn4tr09Qqc62Dv3C/v1C43Yd0eirFtwweDMiZotE=; b=XGSISFXW1ZKrQD7dSgRc/WppL0M1Nuz+kirmIxWjVE3Ip5ou5YnYbh3ExQDwzmiNEoRcug BHclBAX5icuGQJnYnzXISo4niwxLsGxyEwlVbgAkkjtIt66cbYraw9VMdP6wrREuAri6fp AazNuxoz06FJnA6nfRjzn6O1g4V357g= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf03.hostedemail.com: 66.220.144.178 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=1694541174; a=rsa-sha256; cv=none; b=wImzNkLOh/JbiWDs0WXKUP4bt/aIwoS/Rq85PLQssqjxSApIzV+VtZDLoCBpc/+Awt8xQm +xX+SFTJmwozkrokC1ccZF7mQFnTX3Phjeae8VCjGmhcyhJPChqXUhYYaChoWx2iMJMBZ3 lWXfh33zkgeZut5LHdpRLru+CMcVZjg= Received: by devbig1114.prn1.facebook.com (Postfix, from userid 425415) id 9C4ADBCD1635; Tue, 12 Sep 2023 10:52:39 -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 v1 4/4] mm/ksm: document pages_skipped sysfs knob Date: Tue, 12 Sep 2023 10:52:28 -0700 Message-Id: <20230912175228.952039-5-shr@devkernel.io> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230912175228.952039-1-shr@devkernel.io> References: <20230912175228.952039-1-shr@devkernel.io> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-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RxctccxOP1SJEYVMP//5sC19qFquWUyGAfWxj1HjALzGir7tZjv1Dn1/ht 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