diff options
author | Richard Braun <rbraun@sceen.net> | 2017-08-20 17:40:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-08-20 17:40:07 +0200 |
commit | 9e0a5dc54d62ad7702ca041dcd7a4adf07d814fa (patch) | |
tree | d2b4af15b426bf3d7c1027ccd124ae8cd80a964b | |
parent | ebf946b7c850dfb7de1ca68f54458ff9c8a65acf (diff) |
kern/turnstile: fix priority propagation
-rw-r--r-- | kern/turnstile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/turnstile.c b/kern/turnstile.c index 9860084d..1e667773 100644 --- a/kern/turnstile.c +++ b/kern/turnstile.c @@ -677,6 +677,8 @@ turnstile_update_owner(struct turnstile *turnstile, struct thread *owner) if (turnstile->owner == NULL) { turnstile_td_own(td, turnstile); + } else { + turnstile_td_reown(td, turnstile); } spinlock_unlock(&turnstile->bucket->lock); |