Bug was added in f10bf40001fe ("Split PROC_DYING into DYING and
DYING_ABORT"), where I missed a "!".Signed-off-by: Barret Rhoden <[email protected]> --- kern/src/schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kern/src/schedule.c b/kern/src/schedule.c index 7590dcd27d67..2490c52919eb 100644 --- a/kern/src/schedule.c +++ b/kern/src/schedule.c @@ -418,7 +418,7 @@ static void __run_mcp_ksched(void *arg) * DYING, it'll remain DYING until we decref. And if there is a * concurrent death, that will spin on the ksched lock (which we * hold, and which protects the proc lists). */ - if (proc_is_dying(p)) + if (!proc_is_dying(p)) add_to_list(p, secondary_mcps); proc_decref(p); /* fyi, this may trigger __proc_free */ /* need to break: the proc lists may have changed when we unlocked -- 2.8.0.rc3.226.g39d4020 -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
