lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:1.581 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site