Subject: FORK_SHAREVM and emulations question
To: None <tech-kern@netbsd.org>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 01/15/2001 16:13:28
Hi,
couple of emulations use the stackgap_alloc() hack. This works OK
in practice.

I'm not sure if this does not cause for threads which
share virtual memory structures and run independantly. If threads
share stack gap memory and a thread blocks, other thread might
overwrite the thread's structures, leading to problems.

Is the stack gap memory shared for FORK_SHAREVM ? If yes, is it really
a problem, or it's actually not possible to cause any problems ?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@