lkml.org 
[lkml]   [2011]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Bug in scheduler when using rt_mutex
From
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


\
 
 \ /
  Last update: 2011-01-18 10:01    [W:0.121 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site