Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751346Ab3CAOCa (ORCPT ); Fri, 1 Mar 2013 09:02:30 -0500 Received: from mail-oa0-f51.google.com ([209.85.219.51]:53608 "EHLO mail-oa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751034Ab3CAOC3 (ORCPT ); Fri, 1 Mar 2013 09:02:29 -0500 MIME-Version: 1.0 In-Reply-To: <512F8D8B.3070307@suse.cz> References: <5121C7AF.2090803@numascale-asia.com> <51254AD2.7000906@suse.cz> <512F8D8B.3070307@suse.cz> Date: Fri, 1 Mar 2013 22:02:28 +0800 Message-ID: Subject: Re: kswapd craziness round 2 From: Hillf Danton To: Jiri Slaby Cc: Daniel J Blueman , Linux Kernel , Steffen Persvold Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 29 On Fri, Mar 1, 2013 at 1:02 AM, Jiri Slaby wrote: > > Ok, no difference, kswap is still crazy. I'm attaching the output of > "grep -vw '0' /proc/vmstat" if you see something there. > Thanks to you for test and data. Lets try to restore the deleted nap, then. Hillf --- a/mm/vmscan.c Thu Feb 21 20:01:02 2013 +++ b/mm/vmscan.c Fri Mar 1 21:55:40 2013 @@ -2817,6 +2817,10 @@ loop_again: */ if (sc.nr_reclaimed >= SWAP_CLUSTER_MAX) break; + + if (sc.priority < DEF_PRIORITY - 2) + congestion_wait(BLK_RW_ASYNC, HZ/10); + } while (--sc.priority >= 0); out: -- -- 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/