From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 1 Jul 2002 23:06:11 -0700 From: William Lee Irwin III Subject: Re: Big memory, no struct page allocation Message-ID: <20020702060611.GT25360@holomorphy.com> References: <3D1F5034.9060409@shaolinmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel Cc: David Chow , linux-mm@kvack.org List-ID: On Mon, 1 Jul 2002, David Chow wrote: >> In other words, even I have 2G physical memory, I cannot have benefits >> of using all memory for pagecache, this also means I cannot create any >> cache beyong a 1G size in kernel. That's a pitty for 32-bit systems, >> with himem, how does it work? On Mon, Jul 01, 2002 at 02:48:00PM -0300, Rik van Riel wrote: > Pagecache can use highmem just fine. > regards, > Rik Yes, pagecache doesn't care where it is, it just works with the struct pages for the memory. Things that are more internal like dcache and buffer cache need to be allocated from ZONE_NORMAL, as the kernel actually touches that memory directly. Cheers, Bill -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/