diff options
author | K Prateek Nayak <kprateek.nayak@amd.com> | 2025-04-09 05:34:43 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-04-16 21:09:11 +0200 |
commit | 872aa4de18889be63317a8c0f2de71a3a01e487c (patch) | |
tree | ca6c926d79b5af7132370e7e7ccc779500017109 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6432e163ba1b7d80b5876792ce53e511f041ab91 (diff) |
sched/fair: Use READ_ONCE() to read sg->asym_prefer_cpu
Subsequent commits add the support to dynamically update the sched_group
struct's "asym_prefer_cpu" member from a remote CPU. Use READ_ONCE()
when reading the "sg->asym_prefer_cpu" to ensure load balancer always
reads the latest value.
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250409053446.23367-2-kprateek.nayak@amd.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions