[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] Microblaze system freeze
Hi,
John Williams wrote:
> Hi Otto, Falk,
>
> Otto Blomqvist wrote:
>
> > That is possible. I just didn't think it could freeze the whole
> > system..! Interesting, I'll take a look at the code.
>
> A userspace/pthreads priority inversion shouldn't lockup the entire
> system,
Please, read my old discussion here on
http://mailman.uclinux.org/pipermail/uclinux-dev/2006-October/040709.html.
I had to patch semaphore.c and spinlock.h in uclinux_dist/uClibc/libpthread/linuxthreads
because of the Linux hangs I experienced with my user app. Though my patch (for the 2.4
kernel) were rejected because it does not fly for uClinux in general (e.g. it wasn't
SMP-safe).
The discussion ended up with the conclusion that the problem (hang due thread priority
inversion) will remain until we use kernel 2.6 plus the NPTL library instead of pthreads.
CU, 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/