From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] mm/memcontrol: Don't increase effective low/min if no protection needed Date: Tue, 11 Oct 2022 07:04:32 -1000 Message-ID: References: <20221011143015.1152968-1-longman@redhat.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=zqdmtqa8RE2RmAZ8iS4FrD0zV6hOcJCc7nr3ARbwfwo=; b=aobhvW0vOctc/TvPZkx2hfVLoinJiY0qIbvrUd1kge95Xuh9Z9WlI9w0VDygXONgEx SUHOQHTOXNeisew1HS/vWSWZA+IgCMmsEyc746xUu1JJM1zCI6OZyo7TnWVyWPqRr4ob uwOik+kHtFEScp6ufvKxNT6l1i5WWyjekaVk6wH03OuvEKHh7Ywm93IdoY23xT9Hiv9x shYjb1VDVYlnBZZOCjk9zqid65aA+upc7jlbeEXs0KbtmYudcuvpijrFv3/keO+W2NDB /dr6f9dIxCUVXZ+KYUqFai8jHP7V3q21jp3JHSleaWUqKqtagiDjH+27yTxq8oMCUZyR ucJg== Sender: Tejun Heo Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Waiman Long Cc: Michal Hocko , Johannes Weiner , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Chris Down On Tue, Oct 11, 2022 at 01:00:22PM -0400, Waiman Long wrote: > You are right about that. An alternative way to address this issue is to > disable memory low event when memory.low isn't set. An user who want to > track memory.low event has to set it to a non-zero value. Would that be > acceptable? Wouldn't it make sense to fix the test? With recursive_prot on, the cgroup actually is under low protection and it seems like the correct behavior is to report the low events accordingly. Thanks. -- tejun