From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756114Ab3HLXrI (ORCPT ); Mon, 12 Aug 2013 19:47:08 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]:42564 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755807Ab3HLXrG (ORCPT ); Mon, 12 Aug 2013 19:47:06 -0400 MIME-Version: 1.0 In-Reply-To: <52090CF2.3040505@sr71.net> References: <520578D0.7020607@intel.com> <52059508.3090405@sr71.net> <52090CF2.3040505@sr71.net> Date: Mon, 12 Aug 2013 16:47:04 -0700 X-Google-Sender-Auth: ZyGVmdTMDGPZ0CoezcGE-mWyrz0 Message-ID: Subject: Re: x86: early boot crash: "alloc_low_page: ran out of memory" (bisected) From: Yinghai Lu To: Dave Hansen Cc: "the arch/x86 maintainers" , LKML , "H. Peter Anvin" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2013 at 9:27 AM, Dave Hansen wrote: > On 08/09/2013 07:21 PM, Yinghai Lu wrote: >> -/* need 4 4k for initial PMD_SIZE, 4k for 0-ISA_END_ADDRESS */ >> -#define INIT_PGT_BUF_SIZE (5 * PAGE_SIZE) >> +/* need 4 4k for initial PMD_SIZE, 3 4k for 0-ISA_END_ADDRESS */ >> +#define INIT_PGT_BUF_SIZE (7 * PAGE_SIZE) >> RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE); >> void __init early_alloc_pgt_buf(void) > > That patch allows me to boot again. I've also attached a boot with the > debug options that you asked for. > > I'm really curious to see the full changelog for why this patch helps > any why it's only triggered for large memory sizes. :) Thanks, please check changelog at https://patchwork.kernel.org/patch/2843321/ Yinghai