Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932222AbaA1URm (ORCPT ); Tue, 28 Jan 2014 15:17:42 -0500 Received: from mail-ve0-f181.google.com ([209.85.128.181]:41393 "EHLO mail-ve0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932112AbaA1URi (ORCPT ); Tue, 28 Jan 2014 15:17:38 -0500 MIME-Version: 1.0 In-Reply-To: <20140128182230.GO15937@n2100.arm.linux.org.uk> References: <1390590670-25901-1-git-send-email-yinghai@kernel.org> <1390590670-25901-4-git-send-email-yinghai@kernel.org> <52E7E776.30909@ti.com> <20140128182230.GO15937@n2100.arm.linux.org.uk> Date: Tue, 28 Jan 2014 12:17:37 -0800 X-Google-Sender-Auth: -Y2_9iJIt9NmEp4AA9ZCbrJ9CNg Message-ID: Subject: Re: [PATCH 1/3] memblock, nobootmem: Add memblock_virt_alloc_low() From: Linus Torvalds To: Russell King - ARM Linux Cc: Santosh Shilimkar , Yinghai Lu , Kevin Hilman , Olof Johansson , Andrew Morton , Ingo Molnar , "H. Peter Anvin" , Dave Hansen , "linux-kernel@vger.kernel.org" , Konrad Rzeszutek Wilk Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 28, 2014 at 10:22 AM, Russell King - ARM Linux wrote: > > Hence, having ARCH_LOW_ADDRESS_LIMIT set to 4GB-1 by default seems to be > completely rediculous - and presumably this also fails on x86_32 if it > returns memory up at 4GB. Agreed. That looks broken even on x86-32. The low address limit is not even *close* to 4GB in general on 32-bit, since you not only have the TASK_SIZE, you have the kmap and the vmalloc area. On x86-32, ARCH_LOW_ADDRESS_LIMIT should be MAXMEM, which iirc is somewhere around 890MB or so. Not 4G. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/