lkml.org 
[lkml]   [2015]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases
    On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xunlei@zte.com.cn wrote:
    > But for yield() or RR scheduling when running out of time slice,
    > I think this would be still inappropriate, am I missing something?

    Those two have explicit hooks you can use to do the right queueing with.

    Look at yield_task_rt() and task_tick_rt() both end up doing
    requeue_task_rt(), which is exactly what you want, no?



    \
     
     \ /
      Last update: 2015-04-24 21:01    [W:2.917 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site