Re: [Lse-tech] Re: maximum possible memory limit ..

William Lee Irwin III (wli@holomorphy.com)
Mon, 28 Apr 2003 17:13:19 -0700


On Mon, Apr 28, 2003 at 05:00:14PM -0700, William Lee Irwin III wrote:
>> AGP was fiddling around with something, which very well may
>> have been some kind of GART aperture for all I know about it, and needed
>> to use MMUPAGE_SIZE to think of its size correctly.

On Tue, Apr 29, 2003 at 01:06:02AM +0100, Dave Jones wrote:
> A lot of GARTs can only operate on 4KB pages. As long as this is kept in
> mind, things should tick along just fine. Even those that can operate
> with different size pages, we still treat as 4KB.

That's basically the gist of it. The "larger page" is purely a software
construct anyway, so the search and replace approach should be fine.
i.e. s/PAGE_SIZE/MMUPAGE_SIZE/ for the appropriate bits of GART drivers

It won't fix the issues with true hardware page sizes of larger than
4KB, but the issues raised by the larger software page size (really
get_free_pages() allocation unit) are very fixable there.

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