Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35378699rwd; Mon, 10 Jul 2023 06:43:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWiO032pvG9L/tf7nlLmEqCHUFOJkShPrdVv2M5/wZprC0i2CGcK8tBB+ihOZToS0NFD+E X-Received: by 2002:a17:902:a5c5:b0:1b0:307c:e6fe with SMTP id t5-20020a170902a5c500b001b0307ce6femr10195526plq.10.1688996604044; Mon, 10 Jul 2023 06:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688996604; cv=none; d=google.com; s=arc-20160816; b=HiS7jh3nwgT5xQiX1vBe384qAkfbwuEXCJfgWQC8QBKDkHTp+H4XF1Pu2HR9DtD/RX bKLqfDYx3CVpsPKobFwpqjtLgwCab2SSJiItrYcHWqSG7EEM2cO5bEfQUupxduTjEnks UcLru9cW0J7uc+KCPKHC1R4h2WWYeK6LuuKRyhynGjhLPaQdH/6ckAgwRtXPl2jsQ9NM SqlgowsREua++ZYgWx2qZHArjKRZOeO8dTyxGCu3PcQqBXmUtQVwJEkT6enFQieirRuj oeZXs0dNLWncklIQqjlT2X7u0XfLshUSHGdYhyKSDorAKDPndf+oJI0Y/t9DMY2PP0Tf 4AHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ch8v1j9KqUdgNhXghUXhSgDwfmZmfZTDZcPXN8CPyyM=; fh=IvUCxt2qnsflPVdWp/hKHCUy+4hzCZL5pdqmkKnfcFw=; b=LflFBNsyjGAuJH8QVD3SBI5OHaWKOnYD08g+coNuriWDFCD8c/1qJudcnTXxndFNPn 73sxqeEw/5+Kdr6FZp1/FjTLwlPCehkz1TF3j/ITNEdyp2iN9cjs351eL7YcvVp2wggE QmRo6bPJ1b5AalJj27HCa25HQXp8Oo6HXMN8lGyFYcjNPcK5u0t2tF7u2SUqT0mBQqfR cAyE77oTpl1n+c12MALICBw9A183/7xwDJHLjli+FGgd83Whf1zzgjjUvqMcdKsZaljM DAzpgPK+grrgYMthzja+mu9t2txeMY5b6CzP9r90ecO5hP0rcPbs/wQMiNHpjIvdbc17 IFcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=fUgHbXoC; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902ebd200b001b8a56b9895si8827100plg.616.2023.07.10.06.43.12; Mon, 10 Jul 2023 06:43:24 -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=@suse.com header.s=susede1 header.b=fUgHbXoC; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231624AbjGJNfP (ORCPT + 99 others); Mon, 10 Jul 2023 09:35:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjGJNfF (ORCPT ); Mon, 10 Jul 2023 09:35:05 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51D6F103 for ; Mon, 10 Jul 2023 06:34:46 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 028401FFAA; Mon, 10 Jul 2023 13:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1688996085; h=from:from:reply-to: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=Ch8v1j9KqUdgNhXghUXhSgDwfmZmfZTDZcPXN8CPyyM=; b=fUgHbXoC9vexqaiULBqumApDn61z/TPRkL/nfj5G+4Rl3OS3WZgZBKqWuxqreThcF9lTbt 7PqWakoXqtTXYZmFTryTJr7HbHMzmgm/QIha/f2046r/G5cmIiDvO3XB9AZuPIOPL2aw6M lWq3nmYzPQl+kRNFUTd5xB0jrw2oT48= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D37A41361C; Mon, 10 Jul 2023 13:34:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id GWg7MfQIrGS+JgAAMHmgww (envelope-from ); Mon, 10 Jul 2023 13:34:44 +0000 Date: Mon, 10 Jul 2023 15:34:44 +0200 From: Michal Hocko To: =?utf-8?B?6LS65Lit5Z2k?= Cc: minchan@kernel.org, senozhatsky@chromium.org, david@redhat.com, yosryahmed@google.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [External] Re: [RFC PATCH 0/2] zram: objects charge to mem_cgroup Message-ID: References: <20230707044613.1169103-1-hezhongkun.hzk@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Mon 10-07-23 21:16:42, 贺中坤 wrote: > > > > OK, this is an important detail to mention. Also have tried to get some > > numbers of how much excess is happening for a mixed bag of compressible > > memory? > > Yes, I've done the test many times. The numbers of excess depend on the > compression ratio only. The maximum amount will not exceed 400KB,and will be > smaller than the hard limit finally. Again, important data point for your changelog. -- Michal Hocko SUSE Labs