DragonFly kernel List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: chooseproc cpu affinity question
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]