Home
last modified time | relevance | path

Searched refs:central_cpu (Results 1 – 2 of 2) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_central.bpf.c58 const volatile s32 central_cpu; variable
104 return central_cpu; in BPF_STRUCT_OPS()
135 scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); in BPF_STRUCT_OPS()
177 if (cpu != central_cpu) in dispatch_to_cpu()
189 if (cpu == central_cpu) { in BPF_STRUCT_OPS()
217 scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); in BPF_STRUCT_OPS()
224 dispatch_to_cpu(central_cpu); in BPF_STRUCT_OPS()
239 scx_bpf_kick_cpu(central_cpu, SCX_KICK_PREEMPT); in BPF_STRUCT_OPS()
266 if (timer_pinned && (curr_cpu != central_cpu)) { in central_timerfn()
268 curr_cpu, central_cpu); in central_timerfn()
[all …]
H A Dscx_central.c59 skel->rodata->central_cpu = 0; in main()
68 skel->rodata->central_cpu = strtoul(optarg, NULL, 0); in main()
99 CPU_SET(skel->rodata->central_cpu, cpuset); in main()
102 skel->rodata->central_cpu, skel->rodata->nr_cpu_ids - 1); in main()