mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-29 12:40:24 +00:00
scx_lavd: Correct the type of taskc within lavd_dispatch()
The type of "taskc" within "lavd_dispatch()" was "struct task_struct *", while it should be "struct task_ctx *". Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
This commit is contained in:
parent
83b5f4eb23
commit
f55cc965ac
@ -1233,8 +1233,9 @@ void BPF_STRUCT_OPS(lavd_dispatch, s32 cpu, struct task_struct *prev)
|
||||
{
|
||||
u64 now = bpf_ktime_get_ns();
|
||||
struct cpu_ctx *cpuc;
|
||||
struct task_ctx *taskc;
|
||||
struct bpf_cpumask *active, *ovrflw;
|
||||
struct task_struct *p, *taskc;
|
||||
struct task_struct *p;
|
||||
u64 dsq_id = 0;
|
||||
bool try_consume = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user