minix/minix/servers/rs
David van Moolenbroek e3f3566e33 RS: clean up dead services during shutdown
Previously, RS would clean up dead services only when it is idle.
During shutdown, all services are marked with the 'exiting' flag,
and these flags lead RS to conclude it is not idle.  Therefore, at
shutdown time, no services were cleaned up anymore, leading to
deadlock situations.  For example, VFS could end up waiting for a
service that was already dead, or one driver could end up waiting
for an interrupt on a line shared with another dead driver.

While it may be possible to ignore RS_EXITING when checking idle
status, other flags may have the same ultimate effect.  Therefore,
this patch skips the idle check altogether when in shutdown mode.

Change-Id: I071fa9545da1d43c5e5c2e0bc2b6c173e3bb57c3
2015-09-16 15:31:29 +00:00
..
const.h rs: New RS. 2015-09-16 15:30:48 +00:00
error.c rs: New RS. 2015-09-16 15:30:48 +00:00
exec.c minix/ changes for arm llvm build 2014-12-03 23:40:56 +01:00
glo.h New sources layout 2014-07-31 16:00:30 +02:00
inc.h New sources layout 2014-07-31 16:00:30 +02:00
main.c rs: New RS. 2015-09-16 15:30:48 +00:00
Makefile rs: New RS. 2015-09-16 15:30:48 +00:00
manager.c rs: New RS. 2015-09-16 15:30:48 +00:00
proto.h RS: use IPC filters to do a timed receive 2015-09-16 15:31:10 +00:00
request.c rs: New RS. 2015-09-16 15:30:48 +00:00
table.c New sources layout 2014-07-31 16:00:30 +02:00
type.h rs: New RS. 2015-09-16 15:30:48 +00:00
update.c RS: reset heartbeat status after rollback 2015-09-16 15:31:19 +00:00
utility.c RS: clean up dead services during shutdown 2015-09-16 15:31:29 +00:00