From 30d2ba06b99cf66c2da285f84cfe8045f629d2ad Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 10 Oct 2004 05:19:22 +0000 Subject: Don't release the slot twice.. sched_rem() has already done it. Submitted by: stephan uphoff (ups at tree dot com) MFC after: 3 days --- sys/kern/kern_switch.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/kern/kern_switch.c') diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index e578424..b54552f 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -372,7 +372,6 @@ setrunqueue(struct thread *td, int flags) sched_rem(tda); tda = kg->kg_last_assigned = TAILQ_PREV(tda, threadqueue, td_runq); - SLOT_RELEASE(kg); } /* -- cgit v1.1