]> Zhao Yanbai Git Server - minix.git/commit
Discard process' pending request upon incoming PM request
authorThomas Veerman <thomas@minix3.org>
Fri, 9 Dec 2011 10:43:13 +0000 (10:43 +0000)
committerThomas Veerman <thomas@minix3.org>
Mon, 12 Dec 2011 08:20:35 +0000 (08:20 +0000)
commit94da86cbeec0c6673400e63b759faf025b6b24e4
treefbd444f93d4572398d95bdd9eacb991a4f37d351
parente7db2d358879fa5bc123280e43681a93ca8a674c
Discard process' pending request upon incoming PM request

When a process wants something done from VFS, but VFS has no worker
threads available, the request is stored and executed later. However,
when PM also sends a request for that process at the same time, discard
the pending request from the process and give priority to PM. The request
PM sends is either an EXIT or a DUMPCORE request, so we're not interested
in executing the pending request anyway.
servers/avfs/main.c