mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 20:20:23 +00:00
scx_rustland_core: fix update_idle description
The comment that describes rustland_update_idle() is still incorrectly reporting an old implemention detail. Update its description for better clarity. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
parent
311b7f861c
commit
209c454149
@ -700,14 +700,6 @@ void BPF_STRUCT_OPS(rustland_stopping, struct task_struct *p, bool runnable)
|
||||
|
||||
/*
|
||||
* A CPU is about to change its idle state.
|
||||
*
|
||||
* NOTE: implementing an update_idle() callback automatically disables the
|
||||
* built-in idle tracking. This is fine because we want to rely on the internal
|
||||
* CPU ownership map (get_cpu_owner() / set_cpu_owner()) to determine if a CPU
|
||||
* is available or not.
|
||||
*
|
||||
* This information can easily be shared with the user-space scheduler via
|
||||
* cpu_map.
|
||||
*/
|
||||
void BPF_STRUCT_OPS(rustland_update_idle, s32 cpu, bool idle)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user