[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nptl] Re: OSDL Bug 3770
Hello Nick,
> >Does Linux tolerate hard CPU binding? By hard CPU binding, I mean
> >that the application tells the scheduler "I want to run there",
> >and the scheduler schedules the thread(s) "there" regardless if it
> >makes sense or not ( The decision is left to the application).
>
> Yes, it does support hard CPU binding - sched_setaffinity
Yes, I believe that /sched_setaffinity()/ offers a practical solution to the
problem we are faced.
But I am eager to try the RT-patchset of Ingo.
> [snip interesting dialogue]
>
> Thanks for your detailed comments, they were interesting.
... Glad to hear. You're welcome!
Cheers,
Loic.
--
--
// Sender address goes to /dev/null (!!)
// Use my 32/64 bits, ANSI C89, compliant email-address instead:
unsigned y[]=
{0,34432,26811,16721,41866,63119,61007,48155,26147,10986};
void x(z){putchar(z);}; unsigned t;
main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}}
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben
Liste de diffusion nptl
Pour se désinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe