public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* possible problem with sem_post
@ 2012-02-13 13:42 Tim Blechmann
  2012-02-13 19:38 ` Tim Blechmann
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Blechmann @ 2012-02-13 13:42 UTC (permalink / raw)
  To: linux-rt-users

hi all,

i am experiencing a strange issue with lockups of my application. have multiple 
high-priority real-time threads (as many threads as there are physical cpus) and 
one of the threads seems to lock inside sem_post(). these lookups only occur 
very rarely, after stressing the application (and the semaphore) for a rather 
long time. 

sem_post seems to call sys_futex with FUTEX_WAKE. this issue only occurred 
recently after installing the 3.0 rt kernel (currently 3.0.20-rt35). but haven't 
seen this behavior on any non-rt kernel (currently running another stress-test). 
the machine is a thinkpad t410, x86_64.

if this is a problem of the rt-kernel, is there any way to debug it? or is it in 
general unsafe to call sem_post from real-time threads?

thanks, tim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-14 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13 13:42 possible problem with sem_post Tim Blechmann
2012-02-13 19:38 ` Tim Blechmann
2012-02-14 18:51   ` Tim Blechmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox