From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752233Ab2IOHwI (ORCPT ); Sat, 15 Sep 2012 03:52:08 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:57113 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056Ab2IOHwG (ORCPT ); Sat, 15 Sep 2012 03:52:06 -0400 Message-ID: <505433A0.3010702@suse.cz> Date: Sat, 15 Sep 2012 09:52:00 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 MIME-Version: 1.0 To: Michel Lespinasse CC: Sasha Levin , 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 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> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Oh, great. This is BTW also machine with suse. What was the way that Hugh used to reproduce the other issue? For me it happened twice in a row when using zypper to upgrade packages. But it did not happen any more after that. thanks, -- js suse labs