Hi,
some memory corruptions have been causing me trouble, so I implemented
a rudimentary solution for detecting out-of-bounds accesses. With the
commit linked bellow, every memory area created (including every
fibril stack) gets an inaccessible page at both ends. While incredibly
helpful (it pointed out my problem immediately, as well as a lingering
bug in libclui), it is inefficient because the guard pages implemented
this way consume memory.
Perhaps someone versed in kernel's memory management code would
consider implementing something similar in kernel? It would likely
even be more straightforward than what I've done.

http://bazaar.launchpad.net/~zarevucky-jiri/helenos/golang/revision/1596

-- Jirka Z.

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to