lkml.org 
[lkml]   [2012]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH RFC 2/2] kvm: Be courteous to other VMs in overcommitted scenario in PLE handler
    From
    Date
    On Mon, 2012-09-24 at 17:26 +0200, Avi Kivity wrote:
    > I think this is a no-op these (CFS) days. To get schedule() to do
    > anything, you need to wake up a task, or let time pass, or block.
    > Otherwise it will see that nothing has changed and as far as it's
    > concerned you're still the best task to be running (otherwise it
    > wouldn't have picked you in the first place).

    Time could have passed enough before calling this that there's now a
    different/more eligible task around to schedule.

    Esp. for a !PREEMPT kernel this is could be significant.


    \
     
     \ /
      Last update: 2012-09-24 18:41    [W:4.908 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site