From: Michal Hocko Subject: Re: Sv: [PATCH] mm/memcontrol: add memory.peak in cgroup root Date: Tue, 21 Feb 2023 17:16:55 +0100 Message-ID: References: <20230221143421.10385-1-matthew.chae@axis.com> Mime-Version: 1.0 Return-path: 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= Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christopher Wong Cc: Matthew Chae , Johannes Weiner , Roman Gushchin , Shakeel Butt , Andrew Morton , kernel , Muchun Song , "cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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