In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] w
rites:
>Hello,
>
>is it possible to allocate and then maybe free memory in user space
>from kernel mode, if I have struct proc of the process that memory should
>belong to ?
Yes.
>What is the easiest and safest method of doing this ?
Probably vm_mmap with the MAP_ANON flag and without MAP_FIXED.
>I have seen some example that uses obreak(), but that seems very tricky
>and suspicious ... I don't really understand what obreak() really does
>and how to use it ...
I wouldn't want to confuse the user land memory allocators by changing
heap size.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message