Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

SMP TODOs #3

Open
5 tasks
klange opened this issue May 27, 2021 · 0 comments
Open
5 tasks

SMP TODOs #3

klange opened this issue May 27, 2021 · 0 comments

Comments

@klange
Copy link
Collaborator

klange commented May 27, 2021

  • Resolve remaining race conditions.
    • It seems like some are trashing stacks.
    • We're probably not cleaning up processes sanely between cores: This seems like the area most in need to exploration.
    • The VFS needs a thorough audit!
  • Stop spinning idle cores
    • APs should arch_pause(); like the BSP instead of repeatedly checking the
    • We should wake up cores when things enter the ready queue. This needs an IPI that jumps straight to scheduling just like the pre-empt signal, but only if we weren't already running something?
    • We should pre-empt cores with the LAPIC timer. Maybe we can even one-shot it so the cores aren't waking up when truly idle?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant