minix/minix/servers
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
..
devman libvtreefs: API changes/extensions, part 2 2014-11-12 12:13:43 +00:00
ds DS: fix regex memory leaks 2015-08-31 12:55:18 +00:00
input Move all services to /service 2014-07-31 16:00:31 +02:00
ipc Turn PCI into a character driver 2014-11-10 14:43:27 +01:00
is ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
pm Remove support for call profiling 2014-09-30 12:39:03 +00:00
rs RS: clean up dead services during shutdown 2015-09-16 15:31:29 +00:00
sched sched: simplify 2015-08-31 12:55:30 +00:00
vfs VFS: fix short select(2) timeouts 2015-09-16 10:41:46 +00:00
vm rs: New RS. 2015-09-16 15:30:48 +00:00
Makefile New sources layout 2014-07-31 16:00:30 +02:00
Makefile.inc merge libminlib with libc 2014-08-28 18:49:19 +02:00