Re: copy-on-write anonymous memory?

2008-05-16 Thread Teemu Rinta-aho
Mark Tinguely wrote: > Teemu Rinta-aho wrote (some edits): > >> I have created a kernel module that stores references to memory objects. >> I.e. when a process makes a syscall to the module, it will create a >> snapshot of the memory area, and after that the writes from

Re: copy-on-write anonymous memory?

2008-05-15 Thread Teemu Rinta-aho
Teemu Rinta-aho wrote: > Kostik Belousov wrote: >> On Thu, May 15, 2008 at 01:20:32PM +0300, Teemu Rinta-aho wrote: >>> Hi all, >>> >>> is it possible to create a memory object that represents >>> anonymous memory pages *and* is copy-on-write

Re: copy-on-write anonymous memory?

2008-05-15 Thread Teemu Rinta-aho
Kostik Belousov wrote: > On Thu, May 15, 2008 at 01:20:32PM +0300, Teemu Rinta-aho wrote: >> Hi all, >> >> is it possible to create a memory object that represents >> anonymous memory pages *and* is copy-on-write? >> >> I have this code in a kernel module

copy-on-write anonymous memory?

2008-05-15 Thread Teemu Rinta-aho
y kind of help here. Best regards, Teemu Rinta-aho ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

vm_map_insert fails, vm_map->max_offset==0?

2008-05-08 Thread Teemu Rinta-aho
Hi, is it possible to insert a new map entry to a process vm_map from a kernel module? I've tried to use vm_map_insert, vm_map_fixed, vm_map_findspace, but they all fail as the vm_map->max_offset is zero (0). I have looked at vm_mmap etc. but I don't get a clue what I'm doing wrong... BR, Teemu _

vm_map_insert fails, vm_map->max_offset==0?

2008-05-08 Thread Teemu Rinta-aho
Hi, is it possible to insert a new map entry to a process vm_map from a kernel module? I've tried to use vm_map_insert, vm_map_fixed, vm_map_findspace, but they all fail as the vm_map->max_offset is zero (0). I have looked at vm_mmap etc. but I don't get a clue what I'm doing wrong... BR, Teemu _