From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: [PATCH] mm, memcg: reclaim more aggressively before high allocator throttling Date: Fri, 29 May 2020 09:25:20 +0200 Message-ID: <20200529072445.GD4406@dhcp22.suse.cz> References: <20200520143712.GA749486@chrisdown.name> <20200528194831.GA2017@chrisdown.name> <20200528202944.GA76514@cmpxchg.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20200528202944.GA76514-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Johannes Weiner Cc: Chris Down , Shakeel Butt , Andrew Morton , Tejun Heo , Linux MM , Cgroups , LKML , Kernel Team On Thu 28-05-20 16:29:44, Johannes Weiner wrote: [...] > How about this: > > Reclaim memcg_nr_pages_over_high in the first iteration, then switch > to SWAP_CLUSTER_MAX in the retries. Yes, that makes much more sense to me. -- Michal Hocko SUSE Labs