vm_map_insert fails, vm_map->max_offset==0?

Teemu Rinta-aho teemu at rinta-aho.org
Thu May 8 15:35:15 UTC 2008


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


More information about the freebsd-hackers mailing list