finding the vm_struct of a C pointer

From: Aydin Okutanoglu (aydin@lcsl.metu.edu.tr)
Date: Thu Feb 17 2000 - 11:12:47 EST


Hi,
I want to allocate some memory and change its default page fault handler
the only way that i can think is allocate memory, then find its vm_area_struct
and change the vm_ops. But i dont know how i can find the vm_area_struct
of a pointer.

Thank you for help

-
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 : Wed Feb 23 2000 - 21:00:18 EST