lkml.org 
[lkml]   [2009]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/8] Use prepare_to_wait_exclusive() instead prepare_to_wait()
    On 12/15/2009 07:48 PM, KOSAKI Motohiro wrote:

    > if we really need wait a bit, Mike's wake_up_batch is best, I think.
    > It mean
    > - if another CPU is idle, wake up one process soon. iow, it don't
    > make meaningless idle.
    > - if another CPU is busy, woken process don't start to run awhile.
    > then, zone_watermark_ok() can calculate correct value.

    Agreed, that should work great.

    --
    All rights reversed.


    \
     
     \ /
      Last update: 2009-12-16 03:47    [W:3.410 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site