* [PATCH sched_ext/for-6.12-fixes] sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type
@ 2024-11-05 21:45 Tejun Heo
0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2024-11-05 21:45 UTC (permalink / raw)
To: David Vernet; +Cc: linux-kernel, sched-ext, kernel-team
0e7ffff1b811 ("scx: Fix raciness in scx_ops_bypass()") converted
scx_ops_bypass_depth from an atomic to an int. Update scx_show_state.py
accordingly.
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 0e7ffff1b811 ("scx: Fix raciness in scx_ops_bypass()")
---
Applying to sched_ext/for-6.12-fixes. Thanks.
tools/sched_ext/scx_show_state.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/sched_ext/scx_show_state.py
+++ b/tools/sched_ext/scx_show_state.py
@@ -35,6 +35,6 @@ print(f'enabled : {read_static_key
print(f'switching_all : {read_int("scx_switching_all")}')
print(f'switched_all : {read_static_key("__scx_switched_all")}')
print(f'enable_state : {ops_state_str(enable_state)} ({enable_state})')
-print(f'bypass_depth : {read_atomic("scx_ops_bypass_depth")}')
+print(f'bypass_depth : {prog["scx_ops_bypass_depth"].value_()}')
print(f'nr_rejected : {read_atomic("scx_nr_rejected")}')
print(f'enable_seq : {read_atomic("scx_enable_seq")}')
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-05 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-05 21:45 [PATCH sched_ext/for-6.12-fixes] sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®