Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2008 18:29:03 +0300
From:      Teemu Rinta-aho <teemu@rinta-aho.org>
To:        freebsd-hackers@freebsd.org
Subject:   vm_map_insert fails, vm_map->max_offset==0?
Message-ID:  <48231C3F.3080906@rinta-aho.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48231C3F.3080906>