[all-commits] [llvm/llvm-project] 97a03e: [libc] Fix sched_get_priority_max() syscall invoca...
Tal Zussman via All-commits
all-commits at lists.llvm.org
Tue Apr 25 16:18:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97a03eb2eb5acf269db6253fe540626b52950f97
https://github.com/llvm/llvm-project/commit/97a03eb2eb5acf269db6253fe540626b52950f97
Author: Tal Zussman <tz2294 at columbia.edu>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M libc/src/sched/linux/sched_get_priority_max.cpp
M libc/test/src/sched/get_priority_test.cpp
Log Message:
-----------
[libc] Fix sched_get_priority_max() syscall invocation
Previously used SYS_sched_get_priority_min. This also updates the tests
for SCHED_RR and SCHED_FIFO to check max_priority > min_priority, rather
than >= in order to catch future breakages.
Reviewed By: michaelrj, goldstein.w.n
Differential Revision: https://reviews.llvm.org/D149102
More information about the All-commits
mailing list