Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1637019rdh; Mon, 25 Sep 2023 21:14:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqhOqHCqQAPVldhFbs+lE0lcp7Db+OI4L+pP3/hgL9c/xJGc0Hb2EZ2jXLKLt32MaphFqB X-Received: by 2002:a05:6358:912:b0:132:d333:4a5c with SMTP id r18-20020a056358091200b00132d3334a5cmr10788517rwi.10.1695701676759; Mon, 25 Sep 2023 21:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695701676; cv=none; d=google.com; s=arc-20160816; b=HFzXjJ4eSHTcKMtuGf9t9rLyDsRXoUS10gJT26LpAWdEgi2e0YypBRHg6YnjeDUX8l zWaJdbdNxfdbTh9WRAfUA8+tXDP2kSilubbdUZcbZsHhGgi9tOKj8SziWLanHjwQsvhQ CESeTKN9EQwO5qS/JoiyKtdRETbQrDXqV13dcX4oxKD1S3m1PNWOoC4kf6GyANAtaHtn EMxvWlJDXs/khc1jAU0AbALFVPMfzUunyL+YDNwd0cIqBh+VCBhnE020Lc72Lb8nvKD7 8kvPDpvDdlopdpUfAXL/iPcjMQITx97jFW0hHBlTH1C7TotGvup3x9VuYePYsNpE/VSO hKpQ== 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; bh=k8NgTpKmmuGsb/3inQnuQsluCd3KJ2GgD7vI0QdXM9I=; fh=sS+J4OyOC0EcVLWJpS3mBHGeO+0+dYZJ+ImCUfzsrH4=; b=YlzY8azCATgzwjLzWf25wtYqCqslZPY9ynGFIhw5IN/24Xvbzm6NhWVOt3x5Mr3ctJ Ut/VNwvdHaNSd/475WeQWTGRGnM5vHyWrj9bGcOyZPze0LJBpAYNNpNgZ8X8bfyKZvHM EYGS5HwRC8uEWo+oa/A6I4t0n4g+DCgfoOCVEwam9OUJ41VAGGLk5scZ7tw4X/rgbJXr ussNk+kf9nqjXu3uj6nwZmnIXXMljzU1/UbmQO+IgnWNre+oB7XfVFdiHljA9wkLY34k qJ5jpW9lk2MSeCfepuyWhrkJnAdcfUvY6GuK/j/rL7Up5cVK2VMA0d/XVTtOStCocE+4 XTJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w20-20020a63fb54000000b00565f20a03f3si11242467pgj.774.2023.09.25.21.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 21:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 596B38226F27; Mon, 25 Sep 2023 21:10:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233600AbjIZEKt (ORCPT + 99 others); Tue, 26 Sep 2023 00:10:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232910AbjIZEKq (ORCPT ); Tue, 26 Sep 2023 00:10:46 -0400 Received: from 66-220-144-178.mail-mxout.facebook.com (66-220-144-178.mail-mxout.facebook.com [66.220.144.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73683FC for ; Mon, 25 Sep 2023 21:10:38 -0700 (PDT) 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 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 21:10:56 -0700 (PDT) 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-g= uide/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 --=20 2.39.3