aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2021-06-04 20:01:11 -0700
committerLinus Torvalds <[email protected]>2021-06-05 08:58:11 -0700
commit8fd0e995cc7b6a7a8a40bc03d52a2cd445beeff4 (patch)
tree4add91e0e84e039ee627dcf64748db69bd8aec5b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent50c25ee97cf6ab011542167ab590c17012cea4ed (diff)
kfence: use TASK_IDLE when awaiting allocation
Since wait_event() uses TASK_UNINTERRUPTIBLE by default, waiting for an allocation counts towards load. However, for KFENCE, this does not make any sense, since there is no busy work we're awaiting. Instead, use TASK_IDLE via wait_event_idle() to not count towards load. BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1185565 Link: https://lkml.kernel.org/r/[email protected] Fixes: 407f1d8c1b5f ("kfence: await for allocation using wait_event") Signed-off-by: Marco Elver <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: David Laight <[email protected]> Cc: Hillf Danton <[email protected]> Cc: <[email protected]> [5.12+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions