Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 17:55:56 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114835 for review
Message-ID:  <200702221755.l1MHtuVe049581@repoman.freebsd.org>

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

Change 114835 by jhb@jhb_mutex on 2007/02/22 17:55:28

	s/setrunqueue/sched_add/

Affected files ...

.. //depot/projects/smpng/sys/modules/crash/crash.c#34 edit
.. //depot/projects/smpng/sys/modules/crash2/crash2.c#18 edit
.. //depot/projects/smpng/sys/modules/evtest/evtest.c#22 edit

Differences ...

==== //depot/projects/smpng/sys/modules/crash/crash.c#34 (text+ko) ====

@@ -800,7 +800,7 @@
 	mtx_lock_spin(&sched_lock);
 	sched_prio(td, PRI_MIN_IDLE);
 	TD_SET_CAN_RUN(td);
-	setrunqueue(td, SRQ_BORING);
+	sched_add(td, SRQ_BORING);
 	mtx_unlock_spin(&sched_lock);
 	kthread = p;
 	return (0);

==== //depot/projects/smpng/sys/modules/crash2/crash2.c#18 (text+ko) ====

@@ -420,7 +420,7 @@
 		mtx_lock_spin(&sched_lock);
 		sched_prio(td, PRI_MIN_IDLE);
 		TD_SET_CAN_RUN(td);
-		setrunqueue(td, SRQ_BORING);
+		sched_add(td, SRQ_BORING);
 		mtx_unlock_spin(&sched_lock);
 	}
 	return (0);

==== //depot/projects/smpng/sys/modules/evtest/evtest.c#22 (text+ko) ====

@@ -390,7 +390,7 @@
 	mtx_lock_spin(&sched_lock);
 	sched_prio(td, PRI_MIN_IDLE);
 	TD_SET_CAN_RUN(td);
-	setrunqueue(td, SRQ_BORING);
+	sched_add(td, SRQ_BORING);
 	mtx_unlock_spin(&sched_lock);
 	mtx_lock(&event_mtx);
 	num_threads++;



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