From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752784AbcI0G0T (ORCPT ); Tue, 27 Sep 2016 02:26:19 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33316 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbcI0G0L (ORCPT ); Tue, 27 Sep 2016 02:26:11 -0400 Message-ID: <57EA1100.2080900@linaro.org> Date: Tue, 27 Sep 2016 14:26:08 +0800 From: Hanjun Guo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Robert Richter CC: David Daney , linux-kernel@vger.kernel.org, Marc Zyngier , "Rafael J. Wysocki" , Will Deacon , Ganapatrao Kulkarni , linux-arm-kernel@lists.infradead.org, David Daney , xieyisheng1@huawei.com Subject: Re: [PATCH] arm64, numa: Add cpu_to_node() implementation. References: <1474310970-21264-1-git-send-email-ddaney.cavm@gmail.com> <20160920104348.GP25086@rric.localdomain> <57E11E52.8060303@linaro.org> <20160920132120.GQ25086@rric.localdomain> In-Reply-To: <20160920132120.GQ25086@rric.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/20/2016 09:21 PM, Robert Richter wrote: > On 20.09.16 19:32:34, Hanjun Guo wrote: >> On 09/20/2016 06:43 PM, Robert Richter wrote: > >>> Unfortunately either your nor my code does fix the BUG_ON() I see with >>> the numa kernel: >>> >>> kernel BUG at mm/page_alloc.c:1848! >>> >>> See below for the core dump. It looks like this happens due to moving >>> a mem block where first and last page are mapped to different numa >>> nodes, thus, triggering the BUG_ON(). >> >> Didn't triggered it on our NUMA hardware, could you provide your >> config then we can have a try? > > Config attached. Other configs with an initrd fail too. hmm, we can't reproduce it on our hardware, do we need to run some specific stress test on it? Thanks Hanjun