From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx146.postini.com [74.125.245.146]) by kanga.kvack.org (Postfix) with SMTP id 526516B005D for ; Sat, 15 Sep 2012 05:26:02 -0400 (EDT) Received: by eeke49 with SMTP id e49so3248665eek.14 for ; Sat, 15 Sep 2012 02:26:00 -0700 (PDT) Message-ID: <505449BF.5040000@gmail.com> Date: Sat, 15 Sep 2012 11:26:23 +0200 From: Sasha Levin MIME-Version: 1.0 Subject: Re: [PATCH 6/7] mm: add CONFIG_DEBUG_VM_RB build option References: <1346750457-12385-1-git-send-email-walken@google.com> <1346750457-12385-7-git-send-email-walken@google.com> <5053AC2F.3070203@gmail.com> <20120915000029.GA29426@google.com> In-Reply-To: <20120915000029.GA29426@google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michel Lespinasse Cc: linux-mm@kvack.org, riel@redhat.com, peterz@infradead.org, aarcange@redhat.com, hughd@google.com, daniel.santos@pobox.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Dave Jones , Jiri Slaby On 09/15/2012 02:00 AM, Michel Lespinasse wrote: > All right. Hugh managed to reproduce the issue on his suse laptop, and > I came up with a fix. > > The problem was that in mremap, the new vma's vm_{start,end,pgoff} > fields need to be updated before calling anon_vma_clone() so that the > new vma will be properly indexed. > > Patch attached. I expect this should also explain Jiri's reported > failure involving splitting THP pages during mremap(), even though we > did not manage to reproduce that one. Initially I've stumbled on it by running trinity inside a KVM tools guest. fwiw, the guest is pretty custom and isn't based on suse. I re-ran tests with patch applied and looks like it fixed the issue, I haven't seen the warnings even though it runs for quite a while now. Thanks, Sasha -- 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