mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-29 20:50:22 +00:00
scx_bpfland: fix typo in slice_ns definition
The correct default value of slice_ns 5ms, not 5s. This change doesn't really make any difference in practice, since these values are changed by the Rust part when the scheduler is started, but it's good to keep this aligned to the proper values for consistency. Tested-by: Piotr Gorski <lucjan.lucjanov@gmail.com> Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
This commit is contained in:
parent
3df7a13117
commit
1a1a16b9e9
@ -34,7 +34,7 @@ const volatile bool debug;
|
||||
/*
|
||||
* Default task time slice.
|
||||
*/
|
||||
const volatile u64 slice_ns = 5ULL * NSEC_PER_SEC;
|
||||
const volatile u64 slice_ns = 5ULL * NSEC_PER_MSEC;
|
||||
|
||||
/*
|
||||
* Time slice used when system is over commissioned.
|
||||
|
Loading…
Reference in New Issue
Block a user