From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v3 1/7] mm: Add functions to track page directory modifications Date: Fri, 5 Jun 2020 12:46:55 +0100 Message-ID: <20200605114654.GD31371@gaia> References: <20200515140023.25469-1-joro@8bytes.org> <20200515140023.25469-2-joro@8bytes.org> <20200605100813.GA31371@gaia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200605100813.GA31371@gaia> Sender: linux-acpi-owner@vger.kernel.org To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , rjw@rjwysocki.net, Arnd Bergmann , Andrew Morton , Steven Rostedt , Vlastimil Babka , Michal Hocko , Matthew Wilcox , Joerg Roedel , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Will Deacon List-Id: linux-arch.vger.kernel.org On Fri, Jun 05, 2020 at 11:08:13AM +0100, Catalin Marinas wrote: > This patch causes a kernel panic on arm64 (and possibly powerpc, I > haven't tried). arm64 still uses the 5level-fixup.h and pud_alloc() > checks for the empty p4d with pgd_none() instead of p4d_none(). Ah, should have checked the list first (https://lore.kernel.org/linux-mm/20200604074446.23944-1-joro@8bytes.org/). Please ignore my patch then. -- Catalin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com ([217.140.110.172]:54068 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbgFELrA (ORCPT ); Fri, 5 Jun 2020 07:47:00 -0400 Date: Fri, 5 Jun 2020 12:46:55 +0100 From: Catalin Marinas Subject: Re: [PATCH v3 1/7] mm: Add functions to track page directory modifications Message-ID: <20200605114654.GD31371@gaia> References: <20200515140023.25469-1-joro@8bytes.org> <20200515140023.25469-2-joro@8bytes.org> <20200605100813.GA31371@gaia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605100813.GA31371@gaia> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , rjw@rjwysocki.net, Arnd Bergmann , Andrew Morton , Steven Rostedt , Vlastimil Babka , Michal Hocko , Matthew Wilcox , Joerg Roedel , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Will Deacon Message-ID: <20200605114655.GJZJ9EUzsgVsVM3hMxjPTHqIyhglWEm34BqI_Ft7hMQ@z> On Fri, Jun 05, 2020 at 11:08:13AM +0100, Catalin Marinas wrote: > This patch causes a kernel panic on arm64 (and possibly powerpc, I > haven't tried). arm64 still uses the 5level-fixup.h and pud_alloc() > checks for the empty p4d with pgd_none() instead of p4d_none(). Ah, should have checked the list first (https://lore.kernel.org/linux-mm/20200604074446.23944-1-joro@8bytes.org/). Please ignore my patch then. -- Catalin