Messages in this thread | | | Date | Fri, 18 Feb 2000 11:41:06 -0800 (PST) | From | Jim Garlick <> | Subject | Re: finding the vm_struct of a C pointer |
| |
On Fri, 18 Feb 2000, Aydin Okutanoglu wrote:
> before all, thank you for your help.
Happy to help, though beware, I'm not an authority on linux vm.
> - when allocate memory from user space it is possible to force the kernel > to create a new vm_struct for newly allocated memory
Not if the memory is allocated on the heap (i.e. with brk). Perhaps you could write a driver with an mmap implementation that does the right thing...
> - and it is possible to set user functions to page fault handlers of user pages
No... Again, you could write a driver with an mmap implementation that overrides vm_ops->nopage though.
Jim
- 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/
| |