On Tue, 17 Nov 2009, Sharad Chandra wrote:

Is it known bug or is there any workaround? How will a userland process make sure that process will not crash as malloc(3) can allocate where ever it get the memory free to use.

mprotect(2) operates on pages, so you'll want to use mmap(2) and munmap(2) to allocate and free pages directly rather than mallac(3), which manages byte ranges from pages managed using those same interfaces.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to