From: Michal =?iso-8859-1?Q?Koutn=FD?= Subject: Re: [RFC PATCH] mm: memcg: Do not count memory.low reclaim if it does not happen Date: Thu, 24 Mar 2022 10:51:57 +0100 Message-ID: <20220324095157.GA16685@blackbody.suse.cz> References: <20220322182248.29121-1-mkoutny@suse.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1648115519; 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=7gpGpR3wa2+cKOuymKs7lOAFj3Lr0LMnbgKaKE1lmS0=; b=BGawxnk4ZkQIE7RH/c/DMxnbfBkVfcFqPuS610Wd3K1lipapLcY5WY8j8HJStzYE0qHan9 vrS4rkjy97O26ObUlec4H4FLbLds3Pdx2zDW0dSGgyhnAZScTDYtdQ/kEqDrcs3RcUTORB ad8lq6Av0xdWgp0oZGGgHRSkCsgq2j8= Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Roman Gushchin Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Palethorpe , Andrew Morton , Shakeel Butt , Michal Hocko , Vlastimil Babka , "Matthew Wilcox (Oracle)" , Muchun Song , Johannes Weiner , Yang Shi , Suren Baghdasaryan , Tejun Heo , Chris Down On Wed, Mar 23, 2022 at 02:44:24PM -0700, Roman Gushchin wrote: > Does it mean that in the following configuration: > `parent .low=50M > ` s1 .low=0M .current=50M > ` s2 .low=0M .current=50M > there will be no memory.events::low at all? (assuming the recursive thing is on) True, no memory.events:low among siblings. Number of memory.events:low in the parent depends on how much has to be reclaimed (>50M means carving into parent's protection, hence it'll be counted). This is a quantitative change in the events reporting (point 1 of RFCness), my understanding is that the potential events due to recursive surplus protection carry no new information regarding configured memory.low. Michal