Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756258Ab0DFUBw (ORCPT ); Tue, 6 Apr 2010 16:01:52 -0400 Received: from mail-pz0-f193.google.com ([209.85.222.193]:62376 "EHLO mail-pz0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927Ab0DFUBr convert rfc822-to-8bit (ORCPT ); Tue, 6 Apr 2010 16:01:47 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=oMQWVV+PdUVYMuhBV46cA8nJ+Q3yNmIQ2vfVpKRotZjzCYIpxEaQ1dIoG2gkz+KX5g 4lzNmh4KsGRc1hwniWd9+VYpN6aCqdUO2opMuq5F1rb4OHM5j/al1wFi8MaEr/2EF7X+ xyyeKM5FsXvidQEgpyNsD9ReEWoxKVEzBUFi8= MIME-Version: 1.0 In-Reply-To: <4BBB8F07.60401@zytor.com> References: <4BBB7AC9.5060008@zytor.com> <4BBB8F07.60401@zytor.com> Date: Wed, 7 Apr 2010 01:31:46 +0530 Message-ID: Subject: Re: why choose 896MB to the start point of ZONE_HIGHMEM From: Joel Fernandes To: "H. Peter Anvin" Cc: Frank Hu , hayfeng Lee , linux-kernel@vger.kernel.org, linux-kernel@zh-kernel.org, kernelnewbies@nl.linux.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 32 Hi Peter, On Wed, Apr 7, 2010 at 1:14 AM, H. Peter Anvin wrote: > On 04/06/2010 12:20 PM, Frank Hu wrote: >>> >>> The ELF ABI specifies that user space has 3 GB available to it. ?That >>> leaves 1 GB for the kernel. ?The kernel, by default, uses 128 MB for I/O >>> mapping, vmalloc, and kmap support, which leaves 896 MB for LOWMEM. >>> >>> All of these boundaries are configurable; with PAE enabled the user >>> space boundary has to be on a 1 GB boundary. >>> >> >> the VM split is also configurable when building the kernel (for 32-bit >> processors). > > I did say "all these boundaries are configurable". ?Rather explicitly. > I thought the 896 MB was a hardware limitation on 32 bit architectures and something that cannot be configured? Or am I missing something here? Also the vm-splits refer to "virtual memory" . While ZONE_* and the 896MB we were discussing refers to "physical memory". How then is discussing about vm splits pertinent here? Thanks, -Joel -- 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/