Re: Questton about Zone Allocation 2.4.X

William Lee Irwin III (wli@holomorphy.com)
Thu, 2 Jan 2003 15:51:47 -0800


On Thu, Jan 02, 2003 at 05:55:17PM -0700, Jeff V. Merkey wrote:
> I have a system in the lab with 4GB of physical and the system can see all
> the memory, however, calls to get_free_pages() will only allocate up to 1GB
> of this memory before returning an out of memory condition. I have reviewed
> Ingo's changes and enhancements with the zone allocator and it certainly
> looks like this code has the smarts to balance the contiguous free pages
> on the zone allocation lists. I need to be able to get more than 1GB to
> pin for a particular application. Where do I need to adjust the tuning
> to allow 2.4.X kernels to allocate mote than 1GB from the physical pages
> list?
> Any help would be appreciated.
> Thanks
> Jeff Merkey
> Network Associates

__get_free_pages() allocates from lowmem (i.e. 0-4GB) only.
Allocate from highmem instead.

Bill
-
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/