Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5053131rwl; Tue, 28 Mar 2023 15:42:34 -0700 (PDT) X-Google-Smtp-Source: AKy350ZDTEPYHOiA5tnGYhWgwBimQ8ecdRvSTwheOx5xoAZ43VHQT63H3J7kjsqtFqIjTHrAd69E X-Received: by 2002:a17:907:c248:b0:931:ce20:db8e with SMTP id tj8-20020a170907c24800b00931ce20db8emr18519231ejc.51.1680043353771; Tue, 28 Mar 2023 15:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680043353; cv=none; d=google.com; s=arc-20160816; b=jwVKyC8Gj4T/h96VKyTp4h6y136n0SOjgYg2jmTdL/zeIWBRA/ySL/+YpfCH58bzYX /mUN2Anqmh6rLSv2OrmsqnYRO8UBQgI1Cgm2fxZtdkCV1zNqywJMlXsQqRkTah6FLMRO 6R1CsfJCRl+z/6yKQIO9RPGtauIhzxdzpzy1/NZ4tNaILAkgkeAVKqX7kkBYv0byjb6R oB/BT1+ot5/r46ERjh4kDqcrpPIXwlrXmNjJVUr0Ms93bc1r4g2m00b9Vg2/x7QTneZj cWal7PjU9LJMJYl9eNzUqJdCGgIzWTY1EqmqgqpDS09QjC1NY7jvmhzfUBZKI76evSqe 3zVA== 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:subject:cc:to:from:date :dkim-signature; bh=zUyj/GmtJxr+qbNRanh25s40S81s23CJgO+TRAYneY0=; b=AYaPhHWFCeoZQh1x0C5j5d/ERlAEyUurbrFdeehIqay8FYoWmC/RzzjhIyPgsZROTR gSOl15C1sanIGsIEKSzItRSJFwifHOZe6Pz6UP0WyuNq1cHfXzajnl+zL4GeDyM2w/ma Sbe8Jnu4INIA+7SDCOj78o/eE/fQz8VB2N0WVtCxNOL5CYfs31HtW9AQBrQbSaZxFBcr Gth+1xfxjKnveNwh4Prn9UO2ofcluYA/SphdQV8gs5kN3qfaBEVfQXguwljeNTBOBVrF Pj9/Hpy9xAKQOZTYfVNBzPKjxeEpD3APYYSo1SLVC5aGaoCPhoWiGd2G98iQeEJ/gxTy d7Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=cgNolMjz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020aa7d6c2000000b0050202b1c932si17429252edr.73.2023.03.28.15.41.46; Tue, 28 Mar 2023 15:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=cgNolMjz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229650AbjC1WkZ (ORCPT + 99 others); Tue, 28 Mar 2023 18:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjC1WkY (ORCPT ); Tue, 28 Mar 2023 18:40:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D9ADD8 for ; Tue, 28 Mar 2023 15:39:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 81136B81EE5 for ; Tue, 28 Mar 2023 22:38:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED8E9C4339B; Tue, 28 Mar 2023 22:38:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1680043133; bh=gzeXO5QIwdOYBvsPqvO09t1CFBXhqr3jAyNyuJzFOAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cgNolMjz2rb3vp+zQ0CDdOUS5cRMVZNh+2Fmzibvz9ZkUe3YqT70Oi8YX8gd6cRz9 7WKMvzXu47CN8bJnJXNlawN3WIGOZ55uHDtbugxdNGLHvMlLXymFQhQyjHp5yQQDO/ J4PzMIoZXo0f7g/Vl+Cx0R+VnszKgMSD7L9PzlEQ= Date: Tue, 28 Mar 2023 15:38:52 -0700 From: Andrew Morton To: Cc: , , , , , , , Subject: Re: [PATCH v6 0/6] ksm: support tracking KSM-placed zero-pages Message-Id: <20230328153852.26c2577e4bd921c371c47a7e@linux-foundation.org> In-Reply-To: <202302100915227721315@zte.com.cn> References: <202302100915227721315@zte.com.cn> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Feb 2023 09:15:22 +0800 (CST) wrote: > The core idea of this patch set is to enable users to perceive the number of any > pages merged by KSM, regardless of whether use_zero_page switch has been turned > on, so that users can know how much free memory increase is really due to their > madvise(MERGEABLE) actions. But the problem is, when enabling use_zero_pages, > all empty pages will be merged with kernel zero pages instead of with each > other as use_zero_pages is disabled, and then these zero-pages are no longer > monitored by KSM. We appear to have some outstanding activity on this quite old patchset. From my notes: - An unresponded-to question from Claudia: https://lkml.kernel.org/r/20230307192421.30ab869c@p-imbrenda - Hoping for overall review from David - Another query from Claudia, and a response indicating that a v7 is in the works. https://lore.kernel.org/all/20230307194320.79373a26@p-imbrenda/T/#u - Another unresponded-to review query: https://lkml.kernel.org/r/20230307195119.745d0b46@p-imbrenda - Another response indicating that a v7 is coming https://lkml.kernel.org/r/20230307195313.2e21245a@p-imbrenda So I think I'll drop the v6 series. Please address all these things in the next version and let's start over.