From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14FE1EB64D9 for ; Mon, 10 Jul 2023 13:35:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232851AbjGJNfP (ORCPT ); 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: 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