No description
e3f3566e33
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 |
||
---|---|---|
bin | ||
common | ||
distrib | ||
docs | ||
etc | ||
external | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
minix | ||
releasetools | ||
sbin | ||
share | ||
sys | ||
tests | ||
tools | ||
usr.bin | ||
usr.sbin | ||
.gitignore | ||
.gitreview | ||
build.sh | ||
LICENSE | ||
Makefile | ||
Makefile.inc |