sched_{g,s}etattr01: Add missing policies
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest4 patches 10 repliesIn review
Changes in v2 from the cover letter
3 new commits
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lapi/sched.h: Add include <sched.h>include/ testcases/ testcases/ +2 more | +2 | 3 replies | |
| 2/4 | lapi: Move SCHED_DEADLINE definition from testsinclude/ testcases/ testcases/ | +9 | 1 reply | |
| 3/4 | sched_get_priority_min01: Add missing policiestestcases/ | +9 | 3 replies | |
| 4/4 | sched_get_priority_max01: Add missing policiestestcases/ | +9 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Cyril Hrubis |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH v2 0/4] sched_{g,s}etattr01: Add missing policies
Hi,
changes v1->v2:
3 new commits
sched_getattr and sched_setattr are 99% identical (2 values are different). I was thinking to use the same approach from e197796f22 ("sethostname: Convert to new API"), but not sure if it's a good approach.
Do we want to reduce files needed to be updated after new policy is added? If yes, shouldn't there be just a single directory? (what name should be using to show 2 syscalls are in sources in this directory?)
Also docparse expect source file to be just for one binary, thus not sure whether it should just document both binaries (and thus also rename source file to show 2 syscalls are for this source?)
Kind regards,
Petr
Petr Vorel (4):
lapi/sched.h: Add include <sched.h>
lapi: Move SCHED_DEADLINE definition from tests
sched_get_priority_min01: Add missing policies
sched_get_priority_max01: Add missing policies
include/lapi/sched.h | 16 +++++++++++----- testcases/kernel/syscalls/kcmp/kcmp03.c | 1 - .../sched_get_priority_max01.c | 13 +++++++++---- .../sched_get_priority_min01.c | 13 +++++++++---- .../syscalls/sched_getattr/sched_getattr01.c | 3 --- .../syscalls/sched_getattr/sched_getattr02.c | 2 -- .../syscalls/sched_setattr/sched_setattr01.c | 2 -- 7 files changed, 29 insertions(+), 21 deletions(-)
Signature · 5 lines
2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp