From patchwork Mon Sep 18 18:58:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roesch X-Patchwork-Id: 13390259 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 45D11CD13D8 for ; Mon, 18 Sep 2023 18:58:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9FE086B044B; Mon, 18 Sep 2023 14:58:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 95DD66B044C; Mon, 18 Sep 2023 14:58:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 78DE16B044D; Mon, 18 Sep 2023 14:58:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 65D406B044B for ; Mon, 18 Sep 2023 14:58:39 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 3A578B3DFA for ; Mon, 18 Sep 2023 18:58:39 +0000 (UTC) X-FDA: 81250629558.25.057682B Received: from 66-220-144-179.mail-mxout.facebook.com (66-220-144-179.mail-mxout.facebook.com [66.220.144.179]) by imf16.hostedemail.com (Postfix) with ESMTP id 9709518000E for ; Mon, 18 Sep 2023 18:58:37 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=none; spf=neutral (imf16.hostedemail.com: 66.220.144.179 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1695063517; 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=U1Nom+AtRgrtZfgQRIw1WTlBXiD4PaIArWqAKxu3PzMqHDyV7ScFKHgpxKAD0W94Fs3Vsa 65XycAWV8L8ZreGBAMrIa8trzstRz4zqOQ+Sxf9pcecGJNiO/0DiqEKl3JV0e6RT0a4uQd uZPplqeHO4ZQMNtp5vvMANzugPycvCg= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=none; spf=neutral (imf16.hostedemail.com: 66.220.144.179 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1695063517; a=rsa-sha256; cv=none; b=YGgRdjTOZn7xY0/Tl6J2nxz+WhH6g9NaiavJAUck3/6+RsZXGLZX/ND5agybjodiK2+ODc Wm+6xm6MJpGlyBEAZrk7c2L+XexW+mur12BhYQVEUxf+iuXFIbo6Hx3pvsUpYGmYXiNExv kDx3UqviXE1A4rBehcW0TJO8UilLpS4= Received: by devbig1114.prn1.facebook.com (Postfix, from userid 425415) id 3D51DC25F82E; Mon, 18 Sep 2023 11:58:22 -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 v2 4/4] mm/ksm: document pages_skipped sysfs knob Date: Mon, 18 Sep 2023 11:58:16 -0700 Message-Id: <20230918185816.1518366-5-shr@devkernel.io> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230918185816.1518366-1-shr@devkernel.io> References: <20230918185816.1518366-1-shr@devkernel.io> MIME-Version: 1.0 X-Rspamd-Queue-Id: 9709518000E X-Rspam-User: X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nL8Wg3mvoVKCoSOcmP6iU5IX1Hi2cHDDZlD6i7yCB5t73BAutrdpygilOx/SBBDiTVndxlaJGQFeh2Z2qK6lHrQs92g== 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