> After switching to Kernel 2.2 the program was recompiled. When I let it run
> now, the server-process stays in its endless-loop and the client-process does
> not print anything. What can be the reason for that? Was the scheduling changed
> in the kernel?
yep, sched_yield() is broken for RT tasks. (this is true for 2.3 too;
i have a patch that makes it work, but there's still one more issue
i'll have to look at (code messing directly with scheduler internals;
eg there are places in kernel that assume 'policy |= SCHED_YIELD;' will
cause SCHED_OTHER tasks to run even when current->policy==SCHED_(FF|RR)).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/