Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
- Date: Fri, 13 Apr 2007 22:46:18 +1000
Ananth N Mavinakayanahalli wrote:
On Fri, Apr 13, 2007 at 12:50:20PM +1000, Nick Piggin wrote:
It definitely seems like you can use some kernel functions, but the
ones I saw may just be systemtap facilities. But what is so surprising
about being able to call a kernel function when running in kernel
context? Perhaps there is some fundamental limitation of kprobes that
I don't understand.
The main requirement for kprobes handlers is that they can't sleep. You
could definitely call a kernel function from kprobe handlers as long as
the function doesn't sleep.
That would be enough to access basically all the VM data structures.
--
SUSE Labs, Novell Inc.
-
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/
- References:
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Andrew Morton
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Nick Piggin
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- From: Ananth N Mavinakayanahalli
- Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Prev by Date: Re: PROBLEM: kernel BUG at mm/rmap.c:522!
- Next by Date: [2.6.20.4] BUG: dentry xattrs still in use in shrink_dcache_for_umount() with reiserfs
- Previous by thread: Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Next by thread: Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
- Index(es):
Relevant Pages
|