Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752728Ab0DGFiW (ORCPT ); Wed, 7 Apr 2010 01:38:22 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35876 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995Ab0DGFiR (ORCPT ); Wed, 7 Apr 2010 01:38:17 -0400 Message-ID: <4BBC1807.1090004@zytor.com> Date: Tue, 06 Apr 2010 22:28:39 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Chetan Nanda CC: Venkatram Tummala , Joel Fernandes , Frank Hu , hayfeng Lee , linux-kernel@vger.kernel.org, linux-kernel@zh-kernel.org, kernelnewbies@nl.linux.org Subject: Re: why choose 896MB to the start point of ZONE_HIGHMEM References: <4BBB7AC9.5060008@zytor.com> <4BBB8F07.60401@zytor.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1047 Lines: 27 On 04/06/2010 09:05 PM, Chetan Nanda wrote: > > I have a question here, what if I have a 32bit system with 2GB of RAM, > so in that case my 896MB - 2GB RAM would be in accessible? > What my understanding on the subject is: > Only 896 MB of physical RAM is directly mapped on to kernel 1G virtual > address space. And we still require page table settings to do that (page > table would be identity mapping). But for rest of RAM, i.e. whenever > there is need to access physical RAM beyond 896MB then that page will be > mapped on to pages from 128MB kernel virtual address space (1GB - 896MB > = 128MB), and AFAIK kmap is just for that. > > Please correct me if i am wrong > Correct. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- 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/