Greetings,

I'm interested in using mmap() with MAP_STACK.  After writing a couple of
test programs and looking at vm_map_insert() and vm_map_stack(), it
appears that vm_map_stack() behaves as if MAP_FIXED were set.

Why is this?  I would like to allocate stack space without having to
search for available blocks.

Is there any harm in modifying vm_map_stack() to search for a free block,
a la vm_map_insert()?  I've not delved extensively into the kernel, and am
asking before I tinker in new territory. :-)


TIA,
Eddy

---------------------------------------------------------------------------

Brotsman & Dreger, Inc.
EverQuick Internet / EternalCommerce Division

E-Mail: [EMAIL PROTECTED]
Phone: (316) 794-8922

---------------------------------------------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to