lkml.org 
[lkml]   [2013]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 00/15] cleanups and optimizations
    On Tue, Dec 17, 2013 at 04:03:58PM +0200, Eliezer Tamir wrote:
    > n 17/12/2013 15:32, Peter Zijlstra wrote:
    > >
    > > Awesomeness.. you'll work on subtracting the spin time from the sleep
    > > time?
    >
    > Me or someone on our team will work on it.
    >
    > I'm not sure that subtracting the spin time is the optimal thing to do.
    >
    > The busy poll time is supposed to be limited to something less than 1ms.
    > (I'm using 50us in most of my tests)
    > This is typically orders of magnitude smaller than the poll timeout.
    > Would it make more sense to just enforce a limit on poll time?
    >
    > What do you think?

    I've no idea what people normally expect of select/poll wakeup
    granularity but typically we already have 50us of timer slack, although
    RT tasks go without this.

    It shouldn't be too hard to simply subtract the busy wait from the
    expire ktime and avoid the entire issue though, so why not DTRT if its
    fairly straight fwd to do so?


    \
     
     \ /
      Last update: 2013-12-17 17:01    [W:4.182 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site