Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbZD3E4e (ORCPT ); Thu, 30 Apr 2009 00:56:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751187AbZD3E4Z (ORCPT ); Thu, 30 Apr 2009 00:56:25 -0400 Received: from ultra7.eskimo.com ([204.122.16.70]:1590 "EHLO ultra7.eskimo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbZD3E4Y (ORCPT ); Thu, 30 Apr 2009 00:56:24 -0400 Date: Wed, 29 Apr 2009 21:55:26 -0700 From: Elladan To: Andrew Morton Cc: Elladan , KOSAKI Motohiro , Theodore Tso , Wu Fengguang , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm , Rik van Riel Subject: Re: Swappiness vs. mmap() and interactive response Message-ID: <20090430045525.GC6110@eskimo.com> References: <20090428090916.GC17038@localhost> <20090428120818.GH22104@mit.edu> <20090429130430.4B11.A69D9226@jp.fujitsu.com> <20090428233455.614dcf3a.akpm@linux-foundation.org> <20090430041439.GA6110@eskimo.com> <20090429214332.a2b5b469.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090429214332.a2b5b469.akpm@linux-foundation.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1021 Lines: 27 On Wed, Apr 29, 2009 at 09:43:32PM -0700, Andrew Morton wrote: > On Wed, 29 Apr 2009 21:14:39 -0700 Elladan wrote: > > > > Elladan, have you checked to see whether the Mapped: number in > > > /proc/meminfo is decreasing? > > > > Yes, Mapped decreases while a large file copy is ongoing. It increases again > > if I use the GUI. > > OK. If that's still happening to an appreciable extent after you've > increased /proc/sys/vm/swappiness then I'd wager that we have a > bug/regression in that area. > > Local variable `scan' in shrink_zone() is vulnerable to multiplicative > overflows on large zones, but I doubt if you have enough memory to > trigger that bug. No, I only have 4GB. This appears to happen with swappiness set to 0 or 60. -Elladan -- 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/