Re: [andrewm@uow.edu.au: Re: 2.4.0-test6-pre5: fork: Resource temporarily unavailable]

Chris Wedgwood (cw@f00f.org)
Mon, 7 Aug 2000 10:18:14 +1200


Yes. The correct fix should be to add a

atomic_inc(&current->user->processes);

to just before the atomic_dec(&user->processes). Because we also
need to increment the root process count and not just decrement
the process count of whoever happened to do the kmod()..

Despite two other 'success' reports I have a negative here; the
system does boot and run normally -- but when changing runlevels (ie.
to reboot) I get the fork nasties...

--cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/