Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18161790rwd; Tue, 27 Jun 2023 12:34:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6w8DIR37f/YMwHxEsaNULUKg9btMLDTfS5udZy1s/TJW8Bkhd2TK74mR15CDC4bXQEmknK X-Received: by 2002:aa7:db8d:0:b0:515:3103:631e with SMTP id u13-20020aa7db8d000000b005153103631emr20909226edt.25.1687894498394; Tue, 27 Jun 2023 12:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687894498; cv=none; d=google.com; s=arc-20160816; b=G360EwCceRKAschdqMK50jV5MVRbY75EejtZ39i2z5D91AlMvBuIcRvPxypOd9mYiH wOV0YvikoNfkFHCPkpJ4xirLnvLYXqTAylmGoZUstphTV1ZJPyRDW3beIGu0s/VE4GGF kl5VSG6DTTSpo+chZN1P5RR1Bf5fBTcoyCrdcrsTBG2euULYPv8E3b4IbrGplafYdDGy IwvVT6CsjfifOEXTjTdxp49dDLhQdbDKpc+gMfdCxGB5HLdLTrVBQJRD2xg5fDH3TLYB N6QIjIs7Kd7TPnsu+syRG+53z1zXzDR6xUlj3EfpVMw8Cb5SOAKbK4ZS6FClEO0zovXb c2cA== 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=V2PFUe3PC1nqG6Bla8blg91P1IRyZEClVhV2gtLfjiE=; fh=iMpVacCXhFZGJlI8Ep92BAajjw2CmoGcfnqt7/v5fOU=; b=Hf6QBysBHqyLA0fK6uuglfIAFk9PIJNn0PuO50TkCVDNsifAraPSSSij18qtzaRDNU tjE1YeQhVVoPoJyu91cRrfuvSBLFVQUku7OrfZSvbih/Ph470+/Ik4vVgDw42Fbl78zB sGENqhbG/v21BfG/X+NVsnadHlj2ZUoxwpfpnV2TNW1MtLpTbuT01WHmE+j14eYXPrwM 5q5TdXF9hoQBw6mqsEB8qJ0+zhzvMI/x+3h/i9D7GgzUdlEOySbM0PINbNwm/UeFrYZS atqJ0c6vP2HqLiFx6GX3mYvzqj0eiGsGbcPcViRBUoA6lsQ2sRHs7voYXgvZU4yY2vJV hEGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=OdmvUc2k; 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 c19-20020aa7c753000000b0051a598d552bsi4491765eds.630.2023.06.27.12.34.32; Tue, 27 Jun 2023 12:34:58 -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=OdmvUc2k; 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 S230164AbjF0TWF (ORCPT + 99 others); Tue, 27 Jun 2023 15:22:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229924AbjF0TWE (ORCPT ); Tue, 27 Jun 2023 15:22:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751C2E6C for ; Tue, 27 Jun 2023 12:22:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0AF7D61200 for ; Tue, 27 Jun 2023 19:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01F90C433C8; Tue, 27 Jun 2023 19:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1687893722; bh=V2PFUe3PC1nqG6Bla8blg91P1IRyZEClVhV2gtLfjiE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OdmvUc2kCOYkyZaOhjl8Yb6iNV+MHvldLV1TN4pN3SBVb5w6KpruNwn/YEaFUHukt YRnmjtqICXTjbftfqMtK+6ZfMHsWsIZct3rqdz7t/soSd+k5/mAKfwyNoRnaiH9eWo yMli74qo38xIXUmp9xpNrRX749yW4Mo3vj2Nehcw= Date: Tue, 27 Jun 2023 12:22:01 -0700 From: Andrew Morton To: Nanyong Sun Cc: , , , Subject: Re: [PATCH] mm/ksm: delete the redundant ksm_merging_pages interafce in proc Message-Id: <20230627122201.6e25819493823dfc7cca4741@linux-foundation.org> In-Reply-To: <20230627133542.2446285-1-sunnanyong@huawei.com> References: <20230627133542.2446285-1-sunnanyong@huawei.com> 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=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Tue, 27 Jun 2023 21:35:42 +0800 Nanyong Sun wrote: > Since the ksm_merging_pages information already included in > /proc//ksm_stat, we can delete /proc//ksm_merging_pages to > make the directory more clean, and can save a little bit resources. Well, this is a non backward compatible change - any userspace which depends on ksm_merging_pages will break. Yes, we could remove this but it will be a lengthy process involving emitting a "please use ksm_stat instead" message for a few years before removal.