summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-01-21 15:10:29 +0100
committerPeter Zijlstra <peterz@infradead.org>2026-01-22 11:11:20 +0100
commitbb332a9e5a057d2cb9b90e307b26cce9b1f6f660 (patch)
tree1e547de324ed3ed7837f60b559fdf17ff452a979 /Documentation/userspace-api
parent5d6446f409da00e5a389125ddb5ce09f5bc404c9 (diff)
selftests/rseq: Add rseq slice histogram script
A script that processes trace-cmd data and generates a histogram of rseq slice_ext durations for the recorded workload. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260121143208.340549136@infradead.org
Diffstat (limited to 'Documentation/userspace-api')
-rw-r--r--Documentation/userspace-api/rseq.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/userspace-api/rseq.rst b/Documentation/userspace-api/rseq.rst
index 468f6bbe0e25..3cd27a3c7c7e 100644
--- a/Documentation/userspace-api/rseq.rst
+++ b/Documentation/userspace-api/rseq.rst
@@ -83,6 +83,9 @@ determined by debugfs:rseq/slice_ext_nsec. The default value is 5 usec; which
is the minimum value. It can be incremented to 50 usecs, however doing so
can/will affect the minimum scheduling latency.
+Any proposed changes to this default will have to come with a selftest and
+rseq-slice-hist.py output that shows the new value has merrit.
+
The kernel indicates the grant by clearing rseq::slice_ctrl::request and
setting rseq::slice_ctrl::granted to 1. If there is a reschedule of the
thread after granting the extension, the kernel clears the granted bit to