Linux 2.4 scheduler is RTOS-alike?

From: Ming Lei (lei.ming@attbi.com)
Date: Thu May 22 2003 - 12:59:31 EST


this question is regarding linux kernel 2.4.7-2.4.20.
linux 2.4 kernel does support real time sheduler. If using FIFO real time
schedule policy, would the case that higher priority thread starve the lower
priority thread happen? Similarly, let's say an example: if I have higher
prioority thread A and lower priority thread B, thread A is running without
any wait or blocking, is there a possiblity that 2.4 scheduler may want to
switch to thread B? Why?

If I want to instrument the 2.4 kernel to print out the message for every
thread context switch, where should I put the trace point?

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



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:50 EST