On Mon, Nov 10, 2003 at 05:50:25PM +0100, Manfred Spraul wrote:You misunderstood my objection:
> It breaks either your app or your AGP driver - what's simpler to fix? > I'm biased, because if you update the AGP driver, then I must figure out > how to fix DEBUG_PAGEALLOC 8-)
I'm not convinced changing agpgart is worth the pain.
The only userspace app that actually grovels through the aperture
in this way is the agpgart test code, so this shouldn't be an issue.
I thought the DEBUG_PAGEALLOC stuff just unmapped pages that had beenDEBUG_PAGEALLOC unmaps pages on kmem_cache_free and __free_pages(). The pages are mapped again during get_free_pages and kmem_cache_alloc.
kmalloc'd ? The area of memory we're trying to read those mptables from
shouldn't be unmapped in the first place should they ? Confused.