You are browsing as a guest. Sign up (or log in) to start making projects!

7h 57m 7s logged

Lots of stuff

 
Changelog for the last two days

  • Fixed the clean option in build.py
  • Add kernel VMA setup method
  • Update rustdoc in several places
  • Add panic types to kernel_panic output
  • Move SIMPLE_STATE out of main
  • Improve per-arch code layout

… and an INSANE amount of optimizations, including:

  • Marking certain code paths as cold (which signals the compiler to expect that the code path is unlikely to occur and optimize accordingly)
  • Remove a lot of overhead introduced by Once and similar by swapping them for UnsafeCell<MaybeUninit<T>> and others and taking advantage of things like niche optimization
  • Using bit-packing instead of seperate booleans for state tracking

Next up, I’ll be doing some more work on the VMM and finally add the full mapping methods, which map pages and VMAs together.

0
15

Comments 0

No comments yet. Be the first!