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:
Andrea Righi 2024-07-07 11:10:59 +02:00
parent 3df7a13117
commit 1a1a16b9e9

View File

@ -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.