[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Big memory, no struct page allocation
- To: linux-mm@kvack.org
- Subject: Big memory, no struct page allocation
- From: David Chow <davidchow@shaolinmicro.com>
- Date: Sun, 23 Jun 2002 16:55:58 +0800
- Fake-Sender: owner-linux-mm@kvack.org
- Organization: Shaolin Microsystems Ltd.
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606
Dear all,
Hi, I've got a silly but serious question. I want to allocate a large
buffer (>512MB) in kernel. Normally you use __get_free_page and handle
it with page pointers. But when get to very large (say 1024MB), I will
need to use 2 level of page pointer indirection to carry the page
pointer array. I also find the total size of page struct is quite large
when using lots of pages, what I want is to use memory pages without
struct page, is this possible? By the way, can I use lots of memory in
the kernel, something like 1GB of memory allocation when physically RAM
available? Please give advise. Thanks.
regards,
David
--
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/