Return-Path: Received: from mail-io0-f199.google.com (mail-io0-f199.google.com [209.85.223.199]) by kanga.kvack.org (Postfix) with ESMTP id 140D428027D for ; Mon, 26 Sep 2016 23:26:07 -0400 (EDT) Received: by mail-io0-f199.google.com with SMTP id 20so7144591ioj.0 for ; Mon, 26 Sep 2016 20:26:07 -0700 (PDT) Received: from out4441.biz.mail.alibaba.com (out4441.biz.mail.alibaba.com. [47.88.44.41]) by mx.google.com with ESMTP id b200si990149ioe.142.2016.09.26.20.26.04 for ; Mon, 26 Sep 2016 20:26:06 -0700 (PDT) Reply-To: "Hillf Danton" From: "Hillf Danton" References: <20160926162025.21555-1-vbabka@suse.cz> <20160926162025.21555-2-vbabka@suse.cz> In-Reply-To: <20160926162025.21555-2-vbabka@suse.cz> Subject: Re: [PATCH 1/4] mm, compaction: more reliably increase direct compaction priority-fix Date: Tue, 27 Sep 2016 11:25:46 +0800 Message-ID: <01a101d2186e$d66729c0$83357d40$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: zh-cn Sender: owner-linux-mm@kvack.org List-ID: To: 'Vlastimil Babka' , 'Andrew Morton' Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, 'Linus Torvalds' , 'Arkadiusz Miskiewicz' , 'Ralf-Peter Rohbeck' , 'Olaf Hering' , 'Mel Gorman' , 'Joonsoo Kim' , 'David Rientjes' , 'Rik van Riel' , 'Michal Hocko' , 'Michal Hocko' On Tuesday, September 27, 2016 12:20 AM Vlastimil Babka wrote > > When increasing the compaction priority, also reset retries. Otherwise we can > consume all retries on the lower priorities. Also pull the retries increment > into should_compact_retry() so it counts only the rounds where we actually > rely on it. > > Suggested-by: Michal Hocko > Signed-off-by: Vlastimil Babka > Acked-by: Michal Hocko > Cc: Mel Gorman > Cc: Joonsoo Kim > Cc: David Rientjes > Cc: Rik van Riel > --- Acked-by: Hillf Danton -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org