Hi,
On Wed, 1 Mar 2000 17:02:01 +0200 (EET), Aydin Okutanoglu
<aydin@lcsl.metu.edu.tr> said:
> I change the page_fault handler of a vma, and in the
> new page_fault handler code i want to call a user function who the
> faulting vma belongs to.
You can do all of this in user space anyway, by setting up a SIGSEGV
handler to deal with the page faults. You can even use
mprotect(PROT_NONE) to force page faults on access to perfectly-valid,
resident pages.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:12 EST