From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by kanga.kvack.org (Postfix) with ESMTP id 857F16B0037 for ; Thu, 23 Jan 2014 05:36:11 -0500 (EST) Received: by mail-bk0-f53.google.com with SMTP id my13so274253bkb.26 for ; Thu, 23 Jan 2014 02:36:10 -0800 (PST) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [2a00:1450:4010:c03::235]) by mx.google.com with ESMTPS id b1si9704832bko.349.2014.01.23.02.36.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:36:10 -0800 (PST) Received: by mail-la0-f53.google.com with SMTP id e16so1314522lan.12 for ; Thu, 23 Jan 2014 02:36:09 -0800 (PST) Date: Thu, 23 Jan 2014 14:36:06 +0400 From: Cyrill Gorcunov Subject: Re: [Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count Message-ID: <20140123103606.GU1574@moon> References: <20140122190816.GB4963@suse.de> <20140122191928.GQ1574@moon> <20140122223325.GA30637@moon> <20140123095541.GD4963@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140123095541.GD4963@suse.de> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Pavel Emelyanov , Andrew Morton , gnome@rvzt.net, drawoc@darkrefraction.com, alan@lxorguk.ukuu.org.uk, linux-mm@kvack.org, linux-kernel@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org On Thu, Jan 23, 2014 at 09:55:41AM +0000, Mel Gorman wrote: > On Thu, Jan 23, 2014 at 02:33:25AM +0400, Cyrill Gorcunov wrote: > > On Wed, Jan 22, 2014 at 11:19:28PM +0400, Cyrill Gorcunov wrote: > > > > commit. Test case was simple -- try and open the large file described in > > > > the bug. I did not investigate the patch itself as I'm just reporting > > > > the results of the bisection. If I had to guess, I'd say that VMA > > > > merging has been affected. > > > > > > Thanks a lot for report, Mel! I'm investigating... > > > > Mel, here is a quick fix for bring merging back (just in case if you > > have a minute to test it and confirm the merging were affected). It > > seems I've lost setting up vma-softdirty bit somewhere and procedure > > which tests vma flags mathcing fails, will continue investigating/testing > > tomorrow. > > The test case passes with this patch applied to 3.13 so that appears > to confirm that this is related to VM_SOFTDIRTY preventing merges. > Unfortunately I did not have slabinfo tracking enabled to double check > the number of vm_area_structs in teh system. Thanks a lot, Mel! I'm testing the patch as well (manually though :). I'll send the final fix today. -- 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