This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: performance problems with linuxthreads on arm


Daniel Jacobowitz wrote:
Or, you can fix the bug in LinuxThreads that causes performance to be
so lousy.  I'm not completely sure, but I think the attached patch will
fix it.  Want to give it a try?

Daniel,
You are right, the patch works fine.
Did I understand it correct: The re-scheduling was called before relasing the spinlock, a process with higher priority is started, tries to get the lock, loops, and goes to sleep again. This is repeated, until the first process has a higher prio, that it finishes to release the lock...


Are you going to submit this patch upstream?

Best regards
Peter


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]