* Pekka Paalanen <[EMAIL PROTECTED]> wrote:
> > static inline int notify_page_fault(struct pt_regs *regs)
> > {
> > #ifdef CONFIG_KPROBES
> > @@ -588,6 +636,9 @@ void __kprobes do_page_fault(struct pt_regs *regs,
> > unsigned long error_code)
> > if (notify_page_fault(regs))
> >
On Sun, 27 Jan 2008 18:52:38 +0200
Pekka Paalanen <[EMAIL PROTECTED]> wrote:
> From: Pekka Paalanen <[EMAIL PROTECTED]>
>
> Provides kernel modules a way to register custom page fault handlers.
> On every page fault, except those handled in vmalloc_fault(), this
> will call a list of registered f
On Tue, 29 Jan 2008 18:34:13 -0800
Harvey Harrison <[EMAIL PROTECTED]> wrote:
> Sorry, attached the wrong version to my last message missing the
> kdebug.h hunk. This is still just a straight port to current x86.git.
Wow, thanks.
I have to say I already did this for myself, but I had to
change
From: Pekka Paalanen <[EMAIL PROTECTED]>
Provides kernel modules a way to register custom page fault handlers.
On every page fault, except those handled in vmalloc_fault(), this will
call a list of registered functions. The functions may handle the fault
and force do_page_fault() to return immedia
From: Pekka Paalanen <[EMAIL PROTECTED]>
Provides kernel modules a way to register custom page fault handlers.
On every page fault, except those handled in vmalloc_fault(), this will
call a list of registered functions. The functions may handle the fault
and force do_page_fault() to return immedia
On Sun, 2008-01-27 at 18:52 +0200, Pekka Paalanen wrote:
> +void unregister_page_fault_handler(struct pf_handler *old_pfh)
> +{
> + might_sleep();
> + spin_lock(&pf_handlers_writer);
> + hlist_del_rcu(&old_pfh->hlist);
> + spin_unlock(&pf_handlers_writer);
> + synchronize_rcu(
* Pekka Paalanen <[EMAIL PROTECTED]> wrote:
> arch/x86/Kconfig.debug |9 ++
> arch/x86/mm/fault_32.c | 64
> ++
> arch/x86/mm/fault_64.c | 64
> ++
> include/asm-x86/kdebug.h |9 ++
From: Pekka Paalanen <[EMAIL PROTECTED]>
Provides kernel modules a way to register custom page fault handlers.
On every page fault, except those handled in vmalloc_fault(), this will
call a list of registered functions. The functions may handle the fault
and force do_page_fault() to return immedia
8 matches
Mail list logo