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 26922C636D7 for ; Tue, 21 Feb 2023 16:17:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234087AbjBUQRA (ORCPT ); Tue, 21 Feb 2023 11:17:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233775AbjBUQQ7 (ORCPT ); Tue, 21 Feb 2023 11:16:59 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7BC2BEC3; Tue, 21 Feb 2023 08:16:57 -0800 (PST) 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-out1.suse.de (Postfix) with ESMTPS id 654FD34B9B; Tue, 21 Feb 2023 16:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1676996216; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VIg5pY0sBhoDHUCkynozPJyyyBzhn0SD+XqJCl/DX2E=; b=ur51GYTE2PM2xTY09JS0cAxfrrMgcksi2E8L5UaVsGStsT6bwlH326WLSm6l65zQtfEdqw Z4arZMuoF0l5KIbPLj1yCjM6zsKeo1KHpZgW4KMeov7zRMniNkkJ4UQHM1oXVcjpqRGzbA UBvQod4cxxgaQzlYpt3NWSL7267moYU= 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 4716713481; Tue, 21 Feb 2023 16:16:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kpteDnju9GOZEQAAMHmgww (envelope-from ); Tue, 21 Feb 2023 16:16:56 +0000 Date: Tue, 21 Feb 2023 17:16:55 +0100 From: Michal Hocko To: Christopher Wong Cc: Matthew Chae , Johannes Weiner , Roman Gushchin , Shakeel Butt , Andrew Morton , kernel , Muchun Song , "cgroups@vger.kernel.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: Re: Sv: [PATCH] mm/memcontrol: add memory.peak in cgroup root Message-ID: References: <20230221143421.10385-1-matthew.chae@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 21-02-23 16:13:14, Christopher Wong wrote: > Hi Michal, > > Thanks for the quick response! I think we are just trying to > get the same value that was available for us in cgroup v1 > memory.max_usage_in_bytes. I guess this value also is incomplete for > representing the system memory usage. Correct. > Is it due the incompleteness that the memory.peak has been left out in > the root of cgroup v2? I think so but I do not remember 100%. You might want to look into email archives. -- Michal Hocko SUSE Labs