DragonFly BSD
DragonFly kernel List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: chooseproc cpu affinity question


From: Peter Kadau <peter.kadau@xxxxxxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 22:04:03 +0100

Argh !
Shuffled snippet... *sigh*

Here it is:
+       TAILQ_FOREACH(chkp, q, p_procq) {
+               if (chkp->p_thread->td_gd == mycpu)
+                       break;
+       }
+       if (p != chkp && chkp) {
+               ++choose_affinity;
+               p = chkp;

Cheers and sorry
Peter

--
<peter.kadau@xxxxxxxxxxxxxxxx>

Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration

Tel: +49 7071 601 598
Fax: +49 7071 601 616




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]