Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2686407rdh; Wed, 27 Sep 2023 09:37:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETfbTU7LUBJJ7J76YNkbNFwVV4qQ8jBilTal9dkXeypCQommF48Su/T7c9LcPEYnuOUi3h X-Received: by 2002:a05:6a00:3998:b0:68a:49bc:e0af with SMTP id fi24-20020a056a00399800b0068a49bce0afmr2705279pfb.1.1695832626627; Wed, 27 Sep 2023 09:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695832626; cv=none; d=google.com; s=arc-20160816; b=hLFog58h9urh9aAzKiutbr97M30WlnBVj2X0yFSZII+GIvH3Jovs67fVAwEX2IOpQy VY5FL+9Az98Egw7Bk2pxBRTU0B4wzb1VAHlUx/Zag42qoyO0Y/bl4LpJjEPyvcOSr6LI ABedM0/cCeyw/PDzrz6LE3gK8JAwa7abAhJrJf5B9NGHTP/tK4SNjQpvz5fIt7jtEhHI N/jEPG2V6FE9TwF8d/k3Cm7lTp7csSiskrOWVZ6Fmgtyp+zAFr4CERjWhPzPtAajaUfQ tjNIusjmY1FEl/Y6+vPXlFovysbQRHYBWdWnQ+zSF1Wlfk+KXP7wrbOlb1kDX4J9HeD8 JwYw== 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=71+GN8RZXaq4jWr0yJG4sss0ixOgqD2wHt5QC1Bg9nE=; fh=sS+J4OyOC0EcVLWJpS3mBHGeO+0+dYZJ+ImCUfzsrH4=; b=oL9WNYFJZcE+tzoBmPkLtzuq+/t8s7OyVUNPJ9Clp80UF4nll+4r/U/jrvETo8oiNn TfYxQ4siyKPIdxtnoHwlpSeJ53h7nm7nlM9SnN5aQqZx2XtsU3We5VOsZhqBTtBHK7D0 B0TadqtGI80spIiBG3tOddi1JgO6w0qBeYGlQV+oKCZpMhd0fpBWCZv0shmjGqkOpa0t cHAgU2/2IWzN4L5Vt6xwVLe2oYuEi4jzdd8wC7jJM6hADWI29RIJl3wltF1W21053QTE 9K1huAIu5Mdm+rP9/j7U62s4Ur9ZeG3U1jaKU/YPFCLDmdwMM+UkpnnSzjWKM0TXFynH CMBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bu3-20020a056a00410300b0068e35d412c9si15793024pfb.323.2023.09.27.09.37.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 09:37:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6D9748066662; Wed, 27 Sep 2023 09:23:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231636AbjI0QWw (ORCPT + 99 others); Wed, 27 Sep 2023 12:22:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbjI0QWr (ORCPT ); Wed, 27 Sep 2023 12:22:47 -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 6C40BDD for ; Wed, 27 Sep 2023 09:22:46 -0700 (PDT) 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 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RDNS_DYNAMIC,SPF_HELO_PASS,SPF_NEUTRAL, TVD_RCVD_IP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:23:00 -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 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 --=20 2.39.3