Re: How to know the maximum memory pages that can be allocated?

2008-09-30 Thread Sitsofe Wheeler
Peter Teoh wrote: thank you pradeep singh for the sharing. In the /proc/meminfo, I saw this (and my questions follows): A google search for turned up http://lwn.net/Articles/28345/ and http://www.redhat.com/advice/tips/meminfo.html . They're a bit out of date but they answer some of your

Re: How to know the maximum memory pages that can be allocated?

2008-09-29 Thread pradeep singh
On Mon, Sep 29, 2008 at 9:48 AM, Peter Teoh [EMAIL PROTECTED] wrote: I would like to know the maximum memory I can allocate (using alloc_page()) in GFP_KERNEL and __GFP_HIGHMEM memory area - how can I know that? Peter, I doubt you can precisely know that at any given time. :) A lot of issues

Re: How to know the maximum memory pages that can be allocated?

2008-09-29 Thread Peter Teoh
thank you pradeep singh for the sharing. In the /proc/meminfo, I saw this (and my questions follows): MemTotal: 3046884 kB MemFree: 1502524 kB ===this is the physical free memory? Buffers: 90820 kB Cached: 624168 kB SwapCached: 0 kB Active: 964128 kB

How to know the maximum memory pages that can be allocated?

2008-09-28 Thread Peter Teoh
I would like to know the maximum memory I can allocate (using alloc_page()) in GFP_KERNEL and __GFP_HIGHMEM memory area - how can I know that? Thanks. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED] Please read the FAQ