On Thu, 29 Jan 2004 01:12:57 +0100 uaca@alumni.uv.es wrote: > In my tests always end by allocating "only" 64MB of frames > > this is a i386 machine (Pentium-III) with 1GB of RAM, mostly free. > > who imposes this limit? __get_free_pages is called with GFP_KERNEL, > so I understand it can free other page frames, swap, etc... in order > to allocate more memory get_free_pages() at most can allocate PAGE_SIZE << MAX_ORDER bytes of memory. In 2.4.x kernels MAX_ORDER is 10 and PAGE_SIZE is 4096 on x86 so this limit should be 4MB. MAX_ORDER can be set higher by certain configuration changes, via CONFIG_FORCE_MAX_ZONEORDER. Perhaps it is set to 14 for the kernel you are using. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html