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 D6EADC433F5 for ; Tue, 30 Nov 2021 10:15:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231487AbhK3KSj (ORCPT ); Tue, 30 Nov 2021 05:18:39 -0500 Received: from mout.gmx.net ([212.227.17.21]:54675 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbhK3KSO (ORCPT ); Tue, 30 Nov 2021 05:18:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638267276; bh=CMXfuKcLXjGPWdeqSaOhdOOASlp/euZJFVIobOJQNL4=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To:References; b=lSZw8P4yIh1Mgn7GNXW8ieJwhkFUbYhc/SWPB7+MdIksfONJlrnFOTsSQwm36PpRC 8mIVeGt1pBvWsc7D3Q3LWPlvMnZtLJ6yz4VpMA3BNgEVogVk5W45KUkBO6AmNMb9tI utrPr6xTb4uU1QdWI9O+LFYLB0mA2LG3eJ5lYc80= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from homer.fritz.box ([185.146.50.175]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv31c-1maCDs1OMK-00qwWe; Tue, 30 Nov 2021 11:14:36 +0100 Message-ID: Subject: Re: [PATCH 1/1] mm: vmscan: Reduce throttling due to a failure to make progress From: Mike Galbraith To: Mel Gorman , Alexey Avramov Cc: Andrew Morton , Michal Hocko , Vlastimil Babka , Rik van Riel , Darrick Wong , regressions@lists.linux.dev, Linux-fsdevel , Linux-MM , LKML Date: Tue, 30 Nov 2021 11:14:32 +0100 In-Reply-To: <20211129150117.GO3366@techsingularity.net> References: <20211125151853.8540-1-mgorman@techsingularity.net> <20211127011246.7a8ac7b8@mail.inbox.lv> <20211129150117.GO3366@techsingularity.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:sytcikg7p1xG3fNmhiGZL7NBY2K9XUyGYavCjYpY2QegNfOTUGd MYc+6pI02R2B89qVs2Qu5cNCBH4Cw8Az4HxrukT6H9IYYmGQqKRj/gBnf9pzd4ku48TDWQ9 cYBN+TGa1+g9yy1jYk4iiLf5xW4798Z8xdoF86Yt/Cff7MDwphKngEa8J+FuRemUzaOqcEx D2iHP0oFPfVNMG02Ei6Cg== X-UI-Out-Filterresults: notjunk:1;V03:K0:ff7RvvjqUTU=:ZiHJf8Tty843FB013Jywaf ckHZ7D6y32XvUacpdjCrlAjoIfGLYSEQnjsPw5G5y+QmlkX/l4PVMOreHfhvihFcqpaprtuRN T3W9phRZe4uB/aiWVDiiggTCdcQ1jXdf0u7SzlkoF6443n/xjy1hOt7ymgpG32Ie41MRozlR6 ItZuufxllAWnqWCJ/bUWI+x0r9US9b/54uZKdwRJt4M7+MBfcgxwh13iK/a8e/WlfNHk76fu9 Mncs6rN42AeJyBro7glctCfa/gVPMj6D7iOArLSAAmf9DgDrAP3QmItC2oRzzZ2HfkzUGqZ0K vpOd88l0c16t//fJBMYdhMVFcaao8Vsy5+HxzdLpHu3hMkq8cU61JykLhJdcg2oQMjQKSLKyj 9VRcu2EFcxtVifV4kjmN+vdqbug24KmLOqp4SFONf2TkAAOmqTCakifSobYvkWFAD/bJidjoj QLbJpSj0FSax9xwaCK0NleJsAyRD5nOFcjSAchd0i6wPcqxjn1GWBJTza4bZNYfYFpleA1gsS NMshmVG6wjFJDJFdiLY6/GhPjhClLV0bq5vL+vxRDSIF3Khttfkw4pjmjtTfrJYdhJzZgBZB2 ozJ0MlyYFBJGR0JqLl7MUeeOZYTBbWNaQX+12LfG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