Re: [PATCH] exporting address to the page fault notifier

From: Tiago Vignatti
Date: Fri Jul 27 2007 - 00:36:20 EST


Felipe Balbi escreveu:
On 7/26/07, Tiago Vignatti <vignatti@xxxxxxxxxxxx> wrote:
I made a module using the notifier scheme which already exists inside
the kernel. The problem is that the page fault notifier doesn't show the
address which happened the fault.

This little patch increments this functionality. I chose to break the
ABI putting a new field in 'die_args' instead build a new struct only
for it. The patch and the module notifier comes attached.

don't send attachments... send the patch inline at the mail body this
allows easier commenting on the code.

read Documentation/SubmittingPatches about how to send patches to lkml.

Okay. I sent another mail. Thanks for pointing this.

The page fault notifier can be seen here:
http://web.inf.ufpr.br/vignatti/code/page_fault_notifier.c


Cheers,

--
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br
-
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/