Commit Graph

14 Commits

Author SHA1 Message Date
wnstngs 513faa92c7 kernel: use list.h for scheduling run queues 2026-10-07 10:24:50 +03:00
Matheus 1ed159489d scheduler: only run load balance when appropriate
Prevent the load balancer from balancing when running uniprocessor
machines and when not all CPUs are online yet.

This prevents a race between ap initialization and load balancing.
2026-10-06 11:51:00 -03:00
Matheus 7a533242ad scheduler: make idle cpus steal work 2026-09-16 00:22:05 -03:00
Matheus 74c0bb2450 sched: actually set cpus as idle 2026-09-15 23:19:56 -03:00
Matheus d7343e7b55 scheduler: rework load balancing locking 2026-08-17 21:47:00 -03:00
Matheus 99701d2fb9 sched: fix bsp getting higher priority than target during bringup 2026-06-30 17:35:29 -03:00
Matheus 6eaa3223d1 scheduler: pick cpus properly in pick_cpu when system is not fully up yet 2026-06-15 22:37:25 -03:00
Matheus ab90700203 scheduler: add a few more sanity checks 2025-11-08 02:20:05 -03:00
Matheus 1f4660d407 scheduler: if load balancer is run before smp is up, return 2025-09-07 00:06:26 -03:00
Matheus 1c314b7098 sched: fix load balancer locking 2025-08-31 22:26:58 -03:00
Matheus a11406a600 scheduler: load balancing initial implementation 2025-08-25 22:41:20 -03:00
Matheus 7a890ac41d scheduler: continue work 2025-08-23 13:54:45 -03:00
Matheus c024e1abb7 scheduler: little bit of cleanup 2025-08-20 22:15:09 -03:00
Matheus 136c86354c scheduler: continue rework 2025-08-20 22:00:25 -03:00