Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6142747rdb; Mon, 18 Sep 2023 05:36:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEORL8rU4ENZrXHduYdJBbMEuVunO+oKeQlnaYi3YRyo/1kwORDq7bIbOAkhb5gXkgJg7z+ X-Received: by 2002:a17:90a:de8b:b0:26d:ae3:f6a7 with SMTP id n11-20020a17090ade8b00b0026d0ae3f6a7mr6451913pjv.21.1695040615275; Mon, 18 Sep 2023 05:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695040615; cv=none; d=google.com; s=arc-20160816; b=EsmPJme/1u/m+Q/0n2r5U/xKgV/kVymAyRyv14AzJRVHy7bJkQX/XlIEWH/C+QdRfd DtDvmCWqdQ7hSiyKwFo2gMbEHUO1hb2LITPeabBVXtglkR0uBk8uU7ayiJRn1YeALemm 3E81UrF18pgvHWEJ9C1gVk/Xdejin7CcRHqZuPgYTHBIS9cou5YmUyLAsSYfxg3lOUrj gz+RB/cO0P9Jg4mWKil5uXar2ZmPwRF4CaNdKSPTGZI2DxkeNna82zLpxNUMddLQG/97 xrNYDIY8/R3RKJ4+kQoxw96z/qGdKUku9pCQfIz2wH7//NhsyGMTylxEhKgKfdzLO8x8 QybQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=+JU4zQ6vwcJPw/MJSyGmREAeGnbs/q0yibAmczn8vMQ=; fh=rj364kmaeZMVM5HdKawlrVtJQHBt+LI407FoTGJZ9pc=; b=tcyWoabZavuEIMLBSSihALKSMnf3HrekQhd3CAi86k68CelFHlOEZHQtbYFwTF/WtS +O1IvTi0AhfvJNCHXGQhhgkPQ/Xgn/dcC0KqxY5pOneT1dSt7hLkaCFM8EmPuFnlmG4D 6pZ8k0LabQ2kYtc94MShWIelD5LvqeYsu7aVnVpYlH5UhnyKld5uBDd/o2LYHk5zqDdr y9Qah9pGIIWo3xDIath6I9+xXHpnM5VKy6wi0QUJQrHRvgumDwTZJC7XH04FQtj4a5k5 9nevryPX2xPfFZUuBniebBG6N3RdxLFGG1YDSSEw84jvVMVvKGWc2kcx0VkDvd3S5mCg MWtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YyR0PquG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k9-20020a17090a910900b002639acf55c7si10162904pjo.7.2023.09.18.05.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 05:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YyR0PquG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CC7AB806315B; Mon, 18 Sep 2023 04:32:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241264AbjIRLbl (ORCPT + 99 others); Mon, 18 Sep 2023 07:31:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241825AbjIRLb1 (ORCPT ); Mon, 18 Sep 2023 07:31:27 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C182CF6 for ; Mon, 18 Sep 2023 04:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695036542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+JU4zQ6vwcJPw/MJSyGmREAeGnbs/q0yibAmczn8vMQ=; b=YyR0PquGhcqsKIuBMAshjChkKaLeOPzYsLCRCGQ8D/6354ey2z7j79MqiM9kFIAAuEi9WE +amZrWeOVoR2WolG0DrYKpbfl2vxDV9YU7QNg0RHRRDQy+T4HLZH4eJQi6G9/uQSTHWwCI 3Ok9WDYJ7uRuHvLeO3+YtPYF30CmMFU= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-539-ry_HWSK2MjGYCsWP3_Ty5A-1; Mon, 18 Sep 2023 07:29:00 -0400 X-MC-Unique: ry_HWSK2MjGYCsWP3_Ty5A-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-31fed999e27so2190637f8f.2 for ; Mon, 18 Sep 2023 04:29:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695036539; x=1695641339; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+JU4zQ6vwcJPw/MJSyGmREAeGnbs/q0yibAmczn8vMQ=; b=BK9xokXWRHNzdYOGx18R1T6Eukly4csVm19w+VARTeItbLMJyj0Pn2okilq7V4KxD1 GDtiqqpbBCLj/2I4DaMR7lIEVeM5RW1WCqfOPW/2xc7WpyKJYoGSZqo71JLImlmh0KA/ SEPAx4xwfqdahJJJVMy1E6psk+cICoNNgw8ZrHVnkY1MtziHT1LAw8VksmY5r893wTuq E64WSAE8EgG0IALRUWECSR1u8orYhSF9VtAka/IBDoPHMMAyIlqVo8skmajMuBJu10IP dvOnaSkfLNnCXkBvOpDG7FKO6kr1OFH9QysX9LsTKzGe8UkSekZ0/3yds2S4h+zu4adF aJ7g== X-Gm-Message-State: AOJu0YxWviuKFyPVTKgpN6csjx3v+XV7y53EeTqupyEga+vWJD+VPLhl F1Xac5q4VgpHG6boXczc50QQ9Nepk0np/W4GRsGuH4I4drwZcb9MqMJ3pPAsFarfVEAatxCdPFk og2MvtjhwUkNSDEqumZysuhb2 X-Received: by 2002:a5d:4a50:0:b0:314:1ebc:6e19 with SMTP id v16-20020a5d4a50000000b003141ebc6e19mr6842460wrs.64.1695036539298; Mon, 18 Sep 2023 04:28:59 -0700 (PDT) X-Received: by 2002:a5d:4a50:0:b0:314:1ebc:6e19 with SMTP id v16-20020a5d4a50000000b003141ebc6e19mr6842443wrs.64.1695036538909; Mon, 18 Sep 2023 04:28:58 -0700 (PDT) Received: from ?IPV6:2003:cb:c74b:3400:ec51:7a3a:274e:cbee? (p200300cbc74b3400ec517a3a274ecbee.dip0.t-ipconnect.de. [2003:cb:c74b:3400:ec51:7a3a:274e:cbee]) by smtp.gmail.com with ESMTPSA id n7-20020a7bcbc7000000b003fef3180e7asm15029850wmi.44.2023.09.18.04.28.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 04:28:58 -0700 (PDT) Message-ID: Date: Mon, 18 Sep 2023 13:28:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1 4/4] mm/ksm: document pages_skipped sysfs knob Content-Language: en-US To: Stefan Roesch , kernel-team@fb.com Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, riel@surriel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20230912175228.952039-1-shr@devkernel.io> <20230912175228.952039-5-shr@devkernel.io> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230912175228.952039-5-shr@devkernel.io> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 04:32:18 -0700 (PDT) On 12.09.23 19:52, Stefan Roesch wrote: > 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-guide/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 Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb