util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] chrt: Improve argument handling and allow optional priority
@ 2025-06-21 19:19 Madadi Vineeth Reddy
  2025-06-21 19:19 ` [PATCH v3 1/3] chrt: Make minor cleanups in chrt Madadi Vineeth Reddy
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Madadi Vineeth Reddy @ 2025-06-21 19:19 UTC (permalink / raw)
  To: util-linux, Karel Zak, Benno Schulenberg; +Cc: Madadi Vineeth Reddy

This series improves the usability and correctness of the chrt tool:

- Minor cleanups such as indentation fixes and correcting comment.
- Fixes an issue where specifying a policy without a priority would
  misleadingly print current settings
- Makes the priority argument optional for scheduling policies that
  ignore it, simplifying usage for tuning parameters like --sched-runtime

Changes in v3: 
- Made --pid consistent throughout (Karel Zak)
- Change get policy to not have policy options (Karel Zak and Benno Schulenberg)

Changes in v2:
- Updated the man page to reflect the optional priority behavior (Karel Zak)
- Renamed variable to 'need_prio' (Karel Zak)

Madadi Vineeth Reddy (3):
  chrt: Make minor cleanups in chrt
  chrt: Only display current settings when no policy is specified
  chrt: Make priority optional for policies that don't use it

 schedutils/chrt.1.adoc | 24 +++++++++++++----------
 schedutils/chrt.c      | 43 +++++++++++++++++++++++++++++++++---------
 2 files changed, 48 insertions(+), 19 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-21 19:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-21 19:19 [PATCH v3 0/3] chrt: Improve argument handling and allow optional priority Madadi Vineeth Reddy
2025-06-21 19:19 ` [PATCH v3 1/3] chrt: Make minor cleanups in chrt Madadi Vineeth Reddy
2025-06-21 19:19 ` [PATCH v3 2/3] chrt: Only display current settings when no policy is specified Madadi Vineeth Reddy
2025-06-21 19:27   ` Madadi Vineeth Reddy
2025-06-21 19:19 ` [PATCH v3 3/3] chrt: Make priority optional for policies that don't use it Madadi Vineeth Reddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).