From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753990AbbE1MAa (ORCPT ); Thu, 28 May 2015 08:00:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41920 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753635AbbE1MAV (ORCPT ); Thu, 28 May 2015 08:00:21 -0400 Date: Thu, 28 May 2015 13:00:15 +0100 From: Mel Gorman To: Jovi Zhangwei Cc: linux-kernel@vger.kernel.org, sasha.levin@oracle.com, n-horiguchi@ah.jp.nec.com, akpm@linux-foundation.org, hughd@google.com, linux-mm@kvack.org, vbabka@suse.cz, rientjes@google.com Subject: Re: kernel bug(VM_BUG_ON_PAGE) with 3.18.13 in mm/migrate.c Message-ID: <20150528120015.GA26425@suse.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2015 at 11:05:33AM -0700, Jovi Zhangwei wrote: > Hi, > > I got below kernel bug error in our 3.18.13 stable kernel. > "kernel BUG at mm/migrate.c:1661!" > > Source code: > > 1657 static int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page) > 1658 { > 1659 int page_lru; > 1660 > 1661 VM_BUG_ON_PAGE(compound_order(page) && > !PageTransHuge(page), page); > > It's easy to trigger the error by run tcpdump in our system.(not sure > it will easily be reproduced in another system) > "sudo tcpdump -i bond0.100 'tcp port 4242' -c 100000000000 -w 4242.pcap" > > Any comments for this bug would be great appreciated. thanks. > What sort of compound page is it? What sort of VMA is it in? hugetlbfs pages should never be tagged for NUMA migrate and never enter this path. Transparent huge pages are handled properly so I'm wondering exactly what type of compound page this is and what mapped it into userspace. -- Mel Gorman SUSE Labs