chooseproc cpu affinity question

Peter Kadau peter.kadau at tuebingen.mpg.de
Wed Jan 14 13:05:54 PST 2004


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 at xxxxxxxxxxxxxxxx>
Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration
Tel: +49 7071 601 598
Fax: +49 7071 601 616





More information about the Kernel mailing list