Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752912AbaFGPXx (ORCPT ); Sat, 7 Jun 2014 11:23:53 -0400 Received: from mail-qa0-f52.google.com ([209.85.216.52]:60521 "EHLO mail-qa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786AbaFGPXv (ORCPT ); Sat, 7 Jun 2014 11:23:51 -0400 MIME-Version: 1.0 In-Reply-To: <20140607123518.88983301D2@webmail.sinamail.sina.com.cn> References: <20140607123518.88983301D2@webmail.sinamail.sina.com.cn> Date: Sat, 7 Jun 2014 10:23:50 -0500 Message-ID: Subject: Re: Interactivity regression since v3.11 in mm/vmscan.c From: Felipe Contreras To: zhdxzx@sina.com Cc: Michal Hocko , linux-kernel , "linux-mm@kvack.org" , Andrew Morton , Linus Torvalds , Mel Gorman , dhillf , "hillf.zj" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 7, 2014 at 7:35 AM, wrote: > Would you please try again based only on comment [1](based on v3.15-rc8)? > thanks > Hillf > > --- a/mm/vmscan.c Sat Jun 7 18:38:08 2014 > +++ b/mm/vmscan.c Sat Jun 7 20:08:36 2014 > @@ -1566,7 +1566,7 @@ shrink_inactive_list(unsigned long nr_to > * implies that pages are cycling through the LRU faster than > * they are written so also forcibly stall. > */ > - if (nr_unqueued_dirty == nr_taken || nr_immediate) > + if (nr_immediate) > congestion_wait(BLK_RW_ASYNC, HZ/10); > } That actually seems to work correctly on v3.15-rc8. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/