[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] thread switching problem (SCHED_RR)



Hi,
I updated to the latest µLinux kernel from cvs to get John Williams' latest
fixes in arch/microblaze/kernel.
But I still notice this scheduler problem:
- all threads have SCHED_RR
- thread1 has priority 9 and loops infinitely by constantly calling
poll(...,timeout=1sec).
- as soon as I start a new thread (priority=8) which is just infinitely
doing "while(1);", the timeout in poll() doesn't work anymore and thread1
does not return from poll() although it has a higher priority.

I did the tricky step and extracted the problem stuff from our app and put
it together in a small test user app where you can easily see what is going
on. Is someone interested in trying it and help to fix the
uclinux/microblaze bug? The code also compiles on SuSE-PC-Linux and runs
with SCHED_OTHER there.

Cheers
F@lk

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/