Carsten Emde schrieb: > Armin, > >> [..] But there are some sideeffects to other running >> processes/threads related to their assigned priorities. Here is the >> priority assignment after a fresh boot: ps -elf -> >> Prio-After-OS-Restart.txt attached >> >> If the app "demo_mn_console" has started its first RT thread, a lot >> of other processes/threads are jumping to the highest RT priority >> 99!! Please have a look to: ps -elf -> Prio-after-app-start.txt >> >> Do we have a problem with the RT kernel ? Or is simply the ps >> utility broken ? > Let me try to summarize your observations and suspicions: > 1. After booting your RT kernel, everything works as expected. Yes, all seems to be OK. > 2. The ps utility works as expected. Yes > 3. There are no bug reports that the RT kernel autonomously and at > random fiddles around with task priorities. I have submited a bug report in the meantime. > 4. There are no bug reports that the ps utility - one of the most > frequently used utilities - suddenly may start to display erroneous > priority numbers. A bug in the good old "ps" would be very unlikely. > > 5. At a given time, you start your application that apparently modifies > task priorities *in some way*. Not in some way ... the developers of the openPOWERLINK stack are using plain POSIX calls. > 6. Shortly afterwards you are observing that other not intended tasks > changed their priority as well. Yes ... most processes running previously at 80 are jumping to 99! > > 7. Your first suspicion is that we may have a problem with the RT kernel. > 8. And your second suspicion is that the ps utility is broken. The question about the operation of "ps" was just a formal one .. sorry. > > Doesn't come another suspicion to mind? Why should I have one? The same code works correctly under then non-RT version of the kernel ... at least from the Linux point of view. --Armin > -Carsten. > -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html