Messages in this thread | | | Date | Tue, 18 Jan 2011 16:59:04 +0800 | Subject | Re: Bug in scheduler when using rt_mutex | From | Yong Zhang <> |
| |
On Tue, Jan 18, 2011 at 4:23 PM, Onkalo Samu <samu.p.onkalo@nokia.com> wrote: > On Mon, 2011-01-17 at 17:00 +0100, ext Peter Zijlstra wrote: >> On Mon, 2011-01-17 at 16:42 +0200, Onkalo Samu wrote: >> > >> > Failure case: >> > - user process locks rt_mutex >> > - and goes to sleep (wait_for_completion etc.) >> > - user process is dequeued to sleep state >> > -> vruntime is not updated in dequeue_entity >> > >> >> Does the below (completely untested) patch help? > > Unfortunately no.
It couldn't work because place_entity() will not place it backwards.
-- Only stand for myself
| |