Re: chasing the four level page table

From: Jon Smirl
Date: Sat Jan 08 2005 - 00:26:03 EST


On Thu, 6 Jan 2005 16:41:59 -0500, Dave Jones <davej@xxxxxxxxxx> wrote:
> No other device driver is also doing such lowlevel stuff with
> page tables directly afaics. drivers/char/drm seem to be the only drivers
> using [pgd|pmd|pte]_offset() routines.

On 6 Jan 2005 20:38:27 +0100, Andi Kleen <ak@xxxxxx> wrote:
> Perhaps we should add a get_user_phys() or somesuch for this.

I think this is a case where the memory manager is missing a function
that DRM needs. If there was a get_user_phys() function DRM wouldn't
need to walk the page tables.

--
Jon Smirl
jonsmirl@xxxxxxxxx
-
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/