[PATCH 6/7] rteval: Update cpuset documentation to reflect simplified implementation

John Kacur <[email protected]> Thu, 30 Apr 2026 15:31:43 -0400
Newsgroups org.kernel.vger.linux-rt-users
Message-ID <[email protected]>
Update help text and docstrings to clarify that the simplified cpuset
implementation creates cpusets only for measurements and housekeeping,
not for loads. Loads use taskset for CPU affinity instead.

Changes:
- rteval-cmd: Update --cpusets help text to accurately describe that
  only measurement and housekeeping workloads get cpusets
- rteval/cpusetmanager.py: Update module docstring to clarify that
  loads use taskset rather than cpusets

This aligns the documentation with the simplified implementation
approach that mirrors isolcpus philosophy: measurements get isolation,
loads use affinity constraints.

Assisted-by: Claude Sonnet 4.5 <[email protected]>
Signed-off-by: John Kacur <[email protected]>
---
 rteval-cmd              | 2 +-
 rteval/cpusetmanager.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rteval-cmd b/rteval-cmd
index 29254a8f1a7c..37db9e5e2ce2 100755
--- a/rteval-cmd
+++ b/rteval-cmd
@@ -118,7 +118,7 @@ def parse_options(cfg, parser, cmdargs):
     # CPU Configuration Options
     parser.add_argument("--cpusets", dest="rteval___cpusets",
                       action="store_true", default=False,
-                      help="use cgroup v2 cpusets to isolate measurement, load, and housekeeping workloads")
+                      help="use cgroup v2 cpusets to isolate measurement and housekeeping workloads")
     parser.add_argument("--housekeeping", dest="rteval___housekeeping",
                       type=str, default="", metavar="CPULIST",
                       help="isolated CPUs reserved for system tasks (not used by rteval)")
diff --git a/rteval/cpusetmanager.py b/rteval/cpusetmanager.py
index c1aa04431f3a..2fe931cc4574 100644
--- a/rteval/cpusetmanager.py
+++ b/rteval/cpusetmanager.py
@@ -5,7 +5,8 @@
 Manager for rteval cpusets with automatic cleanup
 
 This module provides the CpusetManager class which orchestrates cpuset creation
-and process migration for rteval workloads (housekeeping, measurement, and loads).
+and process migration for rteval workloads (housekeeping and measurement).
+Loads use taskset for CPU affinity rather than cpusets.
 """
 
 import time
-- 
2.54.0