Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2007 00:05:37 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 129923 for review
Message-ID:  <200712020005.lB205bgN002859@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129923

Change 129923 by peter@peter_daintree on 2007/12/02 00:05:31

	re-add stub function (meant to be streamlined sched_add() replacement)

Affected files ...

.. //depot/projects/bike_sched/sys/kern/sched_4bsd.c#13 edit
.. //depot/projects/bike_sched/sys/kern/sched_ule.c#13 edit

Differences ...

==== //depot/projects/bike_sched/sys/kern/sched_4bsd.c#13 (text+ko) ====

@@ -1162,6 +1162,12 @@
 #endif /* SMP */
 
 void
+sched_run_ithread(struct thread *td)
+{
+	sched_add(td, SRQ_INTR);
+}
+
+void
 sched_rem(struct thread *td)
 {
 	struct td_sched *ts;

==== //depot/projects/bike_sched/sys/kern/sched_ule.c#13 (text+ko) ====

@@ -2381,6 +2381,12 @@
 		sched_setpreempt(td);
 }
 
+void
+sched_run_ithread(struct thread *td)
+{
+	sched_add(td, SRQ_INTR);
+}
+
 /*
  * Remove a thread from a run-queue without running it.  This is used
  * when we're stealing a thread from a remote queue.  Otherwise all threads



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712020005.lB205bgN002859>