From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755200AbaIDJFk (ORCPT ); Thu, 4 Sep 2014 05:05:40 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:30926 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbaIDJFh (ORCPT ); Thu, 4 Sep 2014 05:05:37 -0400 Message-ID: <54082B25.9090600@oracle.com> Date: Thu, 04 Sep 2014 05:04:37 -0400 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Mel Gorman CC: Hugh Dickins , "linux-mm@kvack.org" , Andrew Morton , Dave Jones , LKML , "Kirill A. Shutemov" , Peter Zijlstra , Rik van Riel , Johannes Weiner , Cyrill Gorcunov Subject: Re: mm: BUG in unmap_page_range References: <53DD5F20.8010507@oracle.com> <20140805144439.GW10819@suse.de> <53E17F06.30401@oracle.com> <53E989FB.5000904@oracle.com> <53FD4D9F.6050500@oracle.com> <20140827152622.GC12424@suse.de> <540127AC.4040804@oracle.com> In-Reply-To: <540127AC.4040804@oracle.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/29/2014 09:23 PM, Sasha Levin wrote: > On 08/27/2014 11:26 AM, Mel Gorman wrote: >> > diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h >> > index 281870f..ffea570 100644 >> > --- a/include/asm-generic/pgtable.h >> > +++ b/include/asm-generic/pgtable.h >> > @@ -723,6 +723,9 @@ static inline pte_t pte_mknuma(pte_t pte) >> > >> > VM_BUG_ON(!(val & _PAGE_PRESENT)); >> > >> > + /* debugging only, specific to x86 */ >> > + VM_BUG_ON(val & _PAGE_PROTNONE); >> > + >> > val &= ~_PAGE_PRESENT; >> > val |= _PAGE_NUMA; > Triggered again, the first VM_BUG_ON got hit, the second one never did. Okay, this bug has reproduced quite a few times since then that I no longer suspect it's random memory corruption. I'd be happy to try out more debug patches if you have any leads. Thanks, Sasha