This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC] [PATCH 2/6] Kprobes: Get one pagetable entry
- From: Christoph Hellwig <hch at infradead dot org>
- To: Prasanna S Panchamukhi <prasanna at in dot ibm dot com>
- Cc: linux-kernel at vger dot kernel dot org, systemtap at sources dot redhat dot com, akpm at osdl dot org, Andi Kleen <ak at suse dot de>, davem at davemloft dot net, suparna at in dot ibm dot com, richardj_moore at uk dot ibm dot com
- Date: Tue, 9 May 2006 10:34:41 +0100
- Subject: Re: [RFC] [PATCH 2/6] Kprobes: Get one pagetable entry
- References: <20060509065455.GA11630@in.ibm.com> <20060509065917.GA22493@in.ibm.com> <20060509070106.GB22493@in.ibm.com>
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.