Hello, pthread_cond_wait_1/2 [1] is rarely failing for me on 4.5.0-rc1, on x86_64 KVM guest with 2 CPUs. This test [1]: - spawns 2 SCHED_RR threads - first thread with higher priority sets alarm for 2 seconds and blocks on condition - second thread with lower priority is busy looping for 5 seconds - after 2 seconds alarm signal arrives and handler signals condition - high priority thread should resume running But rarely I see that high priority thread doesn't resume running until low priority thread completes its 5 second busy loop. Looking at traces (short version attached, long version at [2]), I see that after 2 seconds scheduler tries to wake up main thread, but it appears to do that on same CPU where SCHED_RR low prio thread is running, so nothing happens. Then scheduler makes numerous balance attempts, but main thread is not balanced to idle CPU. My guess is this started with following commit, which changed weighted_cpuload(): commit b92486cbf2aa230d00f160664858495c81d2b37b Author: Alex Shi Date: Thu Jun 20 10:18:50 2013 +0800 sched: Compute runnable load avg in cpu_load and cpu_avg_load_per_task I could reproduce it with HEAD set at above commit, I couldn't reproduce it with 3.10 kernel so far. Regards, Jan [1] https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/functional/threads/condvar/pthread_cond_wait_1.c [2] http://jan.stancek.eu/tmp/pthread_cond_wait_failure/sched-trace1.tar.bz2