lkml.org 
[lkml]   [2019]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 7/8] sched/core: Prevent race condition between cpuset and __sched_setscheduler()
    On Fri, Jun 28, 2019 at 10:06:17AM +0200, Juri Lelli wrote:
    > No synchronisation mechanism exists between the cpuset subsystem and
    > calls to function __sched_setscheduler(). As such, it is possible that
    > new root domains are created on the cpuset side while a deadline
    > acceptance test is carried out in __sched_setscheduler(), leading to a
    > potential oversell of CPU bandwidth.
    >
    > Grab cpuset_rwsem read lock from core scheduler, so to prevent
    > situations such as the one described above from happening.
    >

    ISTR there being a funny vs normalize_rt_tasks(); maybe mention that?

    \
     
     \ /
      Last update: 2019-07-01 21:12    [W:4.362 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site