Bug#356458: [tbm@cyrius.com: Re: Bug#356458: linux-2.6: please include bigphysarea patch]
On Tue, Apr 25, 2006 at 12:38:11AM -0700, Andrew Morton wrote:
>
> We already have infrastructure for managing and allocating large
> physically-contiguous hunks of memory: arch/*/mm/hugetlb.c. On x86 that
> operates in 2MB hunks (non-PAE) and 4MB hunks (PAE).
>
> Perhaps we could hook into there to get the needed memory?
Could the upper limit of hugetlb be increased, or is it a function of
page size? Also, I found that the size given to bigphysarea is in
pages, not in KB. So what is being asked for is actually an 8MB buffer
(I guess it is a double buffered operation). 2MB is close but not quite
enough, it appears. I did Cc: the mjpegtools developer so maybe he can
elaborate.
--
Ryan Underwood, <nemesis@icequake.net>
Reply to: