Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp198992rdb; Mon, 18 Sep 2023 12:11:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFk1Mya5WiQME3Xg+fUdPHRhFEycoVsmVpNcgZbltA2tfqpQh9JzCZopYuKbdnOWa3cjMnU X-Received: by 2002:a17:90a:f291:b0:263:4305:4e82 with SMTP id fs17-20020a17090af29100b0026343054e82mr7452901pjb.6.1695064268008; Mon, 18 Sep 2023 12:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695064267; cv=none; d=google.com; s=arc-20160816; b=BM9F9mdYKdba61uwumsVklsWw/93565uPvhZvdXeL8hn6k0L/2Tx5r2EtvLieH5YqG otXQxaTVKC2yOKChpO0Ma5BczQ5ShK4dtSnb3/QI1LRU1hLCxSYHGbNKLWjgP3pLJYAQ szBTyn+OtEAjC1G0nB13I49N1mXDW/ipy8d7EkN6hviRxzxEyF2VDLykkyO9Pj4oWdj2 5v2z6WXjTRrqeATVUbQVKLfdCN+YnYWMtZ/Wtb0D05ZT3tETqTH0AIOE8amxnoIQc5lJ KDgaK2rkN9fBXVlrvr0j4HmuQ1nEgr/9oqRMUWT2OUlZZaeeYbmKUUtjsrN0aMzgjFTd udtQ== 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=X3UtvJolzrFjmqEk95nEtf2Jm9Wgd6Ap1GfB8IcJ9/NI0N60Y6B6oMyGssiQ22Crls tOGXlv7x9xLgmM9hLoryNuGiwKazkJyJYzLbyOfbtlWKpWk1KiHlgp6utCSPFygUum6k x1tAJAuMgCK/do1tsK3rSv9C8FJqjHrpfxKpqBZ+8uH7s4PFtaewDy+fS/WgRofks8dd NPRfEf+X3IAYsyltuQhIH9xT85AOTUL9ksGaYKdd/aWtbxal9pITgxytAUwXzRX/0idb 6heCQ80668MMUG3JQImb4hefLoAIC2nAJDw2iL+q9/MEtSp0cr56krwt1ywZSxc2Gps1 oDgA== 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:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b24-20020a17090ae39800b002689d34ae8dsi10415183pjz.18.2023.09.18.12.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 12:11:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id CACE580BF185; Mon, 18 Sep 2023 11:59:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbjIRS6z (ORCPT + 99 others); Mon, 18 Sep 2023 14:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjIRS6o (ORCPT ); Mon, 18 Sep 2023 14:58:44 -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 42050109 for ; Mon, 18 Sep 2023 11:58:38 -0700 (PDT) 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 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 11:59:08 -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