From patchwork Wed Sep 27 16:22:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roesch X-Patchwork-Id: 13401338 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 4E063E82CAF for ; Wed, 27 Sep 2023 16:22:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BCD978D009A; Wed, 27 Sep 2023 12:22:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id ADE388D0093; Wed, 27 Sep 2023 12:22:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8BD468D0098; Wed, 27 Sep 2023 12:22:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 7C50C8D0093 for ; Wed, 27 Sep 2023 12:22:47 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 53511160D1F for ; Wed, 27 Sep 2023 16:22:47 +0000 (UTC) X-FDA: 81282895974.30.C8290B6 Received: from 66-220-144-178.mail-mxout.facebook.com (66-220-144-178.mail-mxout.facebook.com [66.220.144.178]) by imf20.hostedemail.com (Postfix) with ESMTP id BDE011C0038 for ; Wed, 27 Sep 2023 16:22:45 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=none; spf=neutral (imf20.hostedemail.com: 66.220.144.178 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=1695831765; 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=71+GN8RZXaq4jWr0yJG4sss0ixOgqD2wHt5QC1Bg9nE=; b=uRYkkjZiTzJqZ9yUWBy81Fl2e0597fy+2EKHD2rgfukPrRDuZoJci3+bAAhB2rafMo6/NJ NOy+tJwGvL/qn/mfiwo1KEuoEZiEfMfk/4EPj0RiIV3aU98YDtfcl0gnVawbsTL9cY2IEg 1ogEpaVtkI7L1qZXuVuZr9dTrSWidCs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1695831765; a=rsa-sha256; cv=none; b=MgTC9vBzUPJhVkjRjjkA2elNVdBt+oLdeSOmVN+nH+YOuAYYq9dpyQcgHBhy4WCBLr1GMI euFUd8wmOT8H6EqZG9KSdF9TfYS8I8UHgzPDu3jiXwNx2aqoia6qKJ7Iu2GkOy/yxeg+YY B22XwiAnFJV8cFA6j/lFAEx2iCfDZPw= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=none; spf=neutral (imf20.hostedemail.com: 66.220.144.178 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io; dmarc=none Received: by devbig1114.prn1.facebook.com (Postfix, from userid 425415) id 62387CA4DC16; Wed, 27 Sep 2023 09:22:32 -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 v4 4/4] mm/ksm: document pages_skipped sysfs knob Date: Wed, 27 Sep 2023 09:22:22 -0700 Message-Id: <20230927162222.3827551-5-shr@devkernel.io> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230927162222.3827551-1-shr@devkernel.io> References: <20230927162222.3827551-1-shr@devkernel.io> MIME-Version: 1.0 X-Stat-Signature: 59apakx3hw4h1b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Fs4Mh6GH+2gqKFRDjGAmWOpU4OVGaZjkOhUE+NEadr8jdiRU23T6Oe9PyGZaTNiDsdN/4RYZsKq87ZI2w2TXQ== 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 2b38a8bb08af..0cadde17ae0c 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