scx/rust/scx_rustland_core/assets/bpf
Andrea Righi 812aeb3b81 scx_rustland_core: fix potential race in dispatch_task()
Fix a potential race condition that might lead to a task being
dispatched without kicking the target CPU, which could result in a
potential stall.

With this applied, scx_rustland has been running without any stall for
about 18 hours on a system where the issue was previously quite easy to
reproduce.

Moreover, clarify a couple of comments in the dispatch path.

This fixes issue #353.

Tested-by: SoulHarsh007 <harsh.peshwani@outlook.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-06-16 08:31:48 +02:00
..
intf.h scx_rustland_core: use a separate field to store dispatch flags 2024-04-23 16:10:56 +02:00
main.bpf.c scx_rustland_core: fix potential race in dispatch_task() 2024-06-16 08:31:48 +02:00