From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754447AbcGEDwJ (ORCPT ); Mon, 4 Jul 2016 23:52:09 -0400 Received: from out4133-50.mail.aliyun.com ([42.120.133.50]:3032 "EHLO out4133-50.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754442AbcGEDwE (ORCPT ); Mon, 4 Jul 2016 23:52:04 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03312;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_----5-V8Iqk_1467690704; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "Mel Gorman" Cc: "linux-kernel" , , "Andrew Morton" References: <00d601d1d670$42904f50$c7b0edf0$@alibaba-inc.com> In-Reply-To: <00d601d1d670$42904f50$c7b0edf0$@alibaba-inc.com> Subject: Re: [PATCH 10/31] mm, vmscan: remove duplicate logic clearing node congestion and dirty state Date: Tue, 05 Jul 2016 11:51:44 +0800 Message-ID: <00d701d1d670$8c94ac90$a5be05b0$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFAcfi7W+u+a7K2ob23+bQr440TF6Er/J8A Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Reclaim may stall if there is too much dirty or congested data on a node. > This was previously based on zone flags and the logic for clearing the > flags is in two places. As congestion/dirty tracking is now tracked on a > per-node basis, we can remove some duplicate logic. > > Signed-off-by: Mel Gorman > --- Acked-by: Hillf Danton > mm/vmscan.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) >