Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2753504rdb; Tue, 12 Sep 2023 10:59:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJqHFTnwW6Wr4ssNfCrXe3qfmkHK8xyxvuHXRhXZfs8sg9YIoDt+UZzN1WDkNkB5MQL41Q X-Received: by 2002:a05:6808:5d0:b0:3a7:82e8:8fd1 with SMTP id d16-20020a05680805d000b003a782e88fd1mr495662oij.20.1694541587369; Tue, 12 Sep 2023 10:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694541587; cv=none; d=google.com; s=arc-20160816; b=DJQ1+a6byCMS8w3ZNCN/MSbapxOUYz0mjYyFP+ubTCLG9IYTSddGTdrMOYTlI159+6 f3+hpyGpuMF06aAJMgP5VUGQ8tDZtkKqGF+mhAYaFHK1CDoJxsqbXnSm3Bj0XSXxk0zT SFsDcOsXLmTyLTl7HS+wTvLzoQEiLT6jowpEQpPkz1EGDdm98xB9X+9WOWQaSg/wmhGs YD+SFfFR8qBF7Vr5IMaEYmeg7Lch5nWtXXtc+xJsq8UGcxJ5/ICSzJUNk3YsrgkYoTDy r8pcAPEhW9ouwwLGaxmTq8pHhdMAYpzW39kXnhI/js0gyMleZnM0/4KXAj7alK6swF0I t+Yg== 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=9xcbn4tr09Qqc62Dv3C/v1C43Yd0eirFtwweDMiZotE=; fh=sS+J4OyOC0EcVLWJpS3mBHGeO+0+dYZJ+ImCUfzsrH4=; b=Ggcnx2jgm3nSuYnLlad7/MrMb/6lLax1B2daAfOD3xVE9uz+M0d4QyWrcmcLgzrk6w LUtZU/GfjhE3gmpQNRiOf7t6NoAs+/k6MjcyHpb+ZO5pfbrTEo+Y5QOvPHrmG0m8nsTE uqTzE7Pp/pqi43Q9gg9O1obb4CkRR7G3OtjFog1GKuwmzpDJwPNqjkYbLCyigqynNgUZ mD+59po2FJLVXARAmCsS5URaoMmHdhuMuIlIIZ/z12lRmt6Vb5AaHoSFa5C/uhllgEWl hbszXWu3XRS+i0QErAMUm6cZ/qGTD28i5+KjJBo+DjDf3DDL8hLc0ejbS7WI+nN5Nta4 r/mA== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id f16-20020a63e310000000b00565f22ee768si6313389pgh.24.2023.09.12.10.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:59:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id EAC158292A6B; Tue, 12 Sep 2023 10:53:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237399AbjILRxj (ORCPT + 99 others); Tue, 12 Sep 2023 13:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237374AbjILRxW (ORCPT ); Tue, 12 Sep 2023 13:53:22 -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 9FB851FE5 for ; Tue, 12 Sep 2023 10:52:53 -0700 (PDT) Received: by devbig1114.prn1.facebook.com (Postfix, from userid 425415) id 9C4ADBCD1635; Tue, 12 Sep 2023 10:52:39 -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 v1 4/4] mm/ksm: document pages_skipped sysfs knob Date: Tue, 12 Sep 2023 10:52:28 -0700 Message-Id: <20230912175228.952039-5-shr@devkernel.io> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230912175228.952039-1-shr@devkernel.io> References: <20230912175228.952039-1-shr@devkernel.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:53:47 -0700 (PDT) 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 pete.vger.email This adds documentation for the new metric pages_skipped. Signed-off-by: Stefan Roesch --- 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