scx_layered: Update docs for layer slice setting

Add docs for layer slice setting.

Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
This commit is contained in:
Daniel Hodges 2024-08-28 22:12:07 -04:00
parent 7166f0085f
commit cf765562c7
No known key found for this signature in database
GPG Key ID: D295F6D6F3E97B18

View File

@ -263,6 +263,8 @@ lazy_static::lazy_static! {
/// other logical CPUs sharing the same core will be kept idle. This isn't
/// a hard guarantee, so don't depend on it for security purposes.
///
/// - slice_us: Scheduling slice duration in microseconds.
///
/// - perf: CPU performance target. 0 means no configuration. A value
/// between 1 and 1024 indicates the performance level CPUs running tasks
/// in this layer are configured to using scx_bpf_cpuperf_set().