patch (Re: ^Z during port build and hang?)
Hiten Pandya
hmp at backplane.com
Fri Jun 24 18:25:16 PDT 2005
Matthew Dillon wrote:
Try this patch. There is a race during fork() where a ^Z can cause a
newly forked process to stop as part of the fork trampoline. That code
path was not setting up the passive release function and the process
retained its 'current process' designation when it went to sleep. The
result? No other user processes can run.
The thread priority was also not being properly set, possibly giving
programs that fork a lot (e.g. a make/build) higher priority then the
rest of the system.
If such is the case, this might solve the so-called interactivity
issues that Asmodai and others pointed out when one is doing a
buildworld and using X at thes same time ? (interactivity issues)
Hiten Pandya
More information about the Bugs
mailing list