lkml.org 
[lkml]   [2017]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Crashes in perf_event_ctx_lock_nested
    On Tue, Oct 31, 2017 at 10:32:00PM +0100, Thomas Gleixner wrote:
    > That means we can have the following situation:
    >
    > lock(watchdog_mutex);
    > lockup_detector_reconfigure();
    > cpus_read_lock();
    > stop();
    > park()
    > update();
    > start();
    > unpark()
    > cpus_read_unlock(); thread runs()
    > cleanup();
    > unlock(watchdog_mutex);
    >

    Isn't there also a where hardlockup_detector_perf_init() creates an
    event to 'probe' stuff, and then hardlockup_detector_perf_enable()
    _again_ creates the event?


    \
     
     \ /
      Last update: 2017-11-01 09:15    [W:5.352 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site