Re: OSDL Bug 3770

From: Loic Domaigne
Date: Tue Dec 21 2004 - 07:09:30 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/