lkml.org 
[lkml]   [2014]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: frequent lockups in 3.18rc4
    From
    On Fri, Dec 12, 2014 at 11:58 AM, David Lang <david@lang.hm> wrote:
    >
    > If the machine has NOHZ and has a cpu bound userspace task, it could take
    > quite a while before userspace would trigger a reschedule (at least if I've
    > understood the comments on this thread properly)

    The thing is, we'd have to return to user space for that to happen.
    And when we do that, we check the "should we schedule" flag again. So
    races like this really shouldn't matter, but there could be something
    kind-of-similar that just ends up causing a wakeup to be delayed.

    But it would need to be delayed for seconds (for the RCU threads) or
    for tens of seconds (for the watchdog) to matter.

    Which just seems unlikely. Even the "very high load" thing shouldn't
    really matter, since while that could delay one particular thread
    being scheduled, it shouldn't delay the next "should we schedule"
    test. In fact, high load would normally be extected to make the next
    "should we schedule" come faster.

    But this is where some load calculation overflow might screw things
    up, of course.

    Linus


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