Re: [RFC] [PATCH 2/6] Kprobes: Get one pagetable entry

From: Christoph Hellwig
Date: Tue May 09 2006 - 05:38:12 EST


On Tue, May 09, 2006 at 12:31:06PM +0530, Prasanna S Panchamukhi wrote:
> This patch provide a wrapper routine to allocate one page
> table entry for a given virtual address address. Kprobe's
> user-space probe mechanism uses this routine to get one
> page table entry. As Nick Piggin suggested, this generic
> routine can be used by routines like get_user_pages,
> find_*_page, and other standard APIs.

In find_*_page it defintily cannot be used because theses routines
are doing pagecache lookups and couldn't care less about users.

If you want to get this patch in convert the places currently opencoding
to it, otherwise it just adds more bloat.

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