aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAvi Kivity <[email protected]>2009-11-29 16:34:48 +0200
committerIngo Molnar <[email protected]>2009-11-29 22:03:04 +0100
commit8e7cac79808b62f242069a6ac88d364d35621371 (patch)
treeb68dacc4e080ec8c4587d783a8014906e2eb2445 /tools/perf/scripts/python/check-perf-trace.py
parent3c912b6edaac56cb451e7571c95c15cbb6bd0c81 (diff)
core: Fix user return notifier on fork()
fork() clones all thread_info flags, including TIF_USER_RETURN_NOTIFY; if the new task is first scheduled on a cpu which doesn't have user return notifiers set, this causes user return notifiers to trigger without any way of clearing itself. This is easy to trigger with a forky workload on the host in parallel with kvm, resulting in a cpu in an endless loop on the verge of returning to userspace. Fix by dropping the TIF_USER_RETURN_NOTIFY immediately after fork. Signed-off-by: Avi Kivity <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions