summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2011-07-27 17:14:55 +0200
committerIngo Molnar <mingo@elte.hu>2011-08-14 12:00:43 +0200
commitc350a04efd1c89cd256b2abc8f07a21d0d53ff24 (patch)
tree81b7ad7cd7e86c21aeb81fcfe68bb38892e1ddbb /virt
parent2c2efaed9bc973e3aeab1385c618017b56c8f6d7 (diff)
downloadop-kernel-dev-c350a04efd1c89cd256b2abc8f07a21d0d53ff24.zip
op-kernel-dev-c350a04efd1c89cd256b2abc8f07a21d0d53ff24.tar.gz
sched: fix broken SCHED_RESET_ON_FORK handling
Setting child->prio = current->normal_prio _after_ SCHED_RESET_ON_FORK has been handled for an RT parent gives birth to a deranged mutant child with non-RT policy, but RT prio and sched_class. Move PI leakage protection up, always set priorities and weight, and if the child is leaving RT class, reset rt_priority to the proper value. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1311779695.8691.2.camel@marge.simson.net Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud