Re: EFAULT reading /dev/mem... - broken x86info

From: Dave Jones
Date: Mon Nov 10 2003 - 12:00:01 EST


On Mon, Nov 10, 2003 at 05:50:25PM +0100, Manfred Spraul wrote:
> 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 been
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.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/