Closed Liblor closed 4 years ago
Notes lazy mapping
return is resume
Uncommenting SELF_PAGING_WORKS
results in a fault in slab_alloc
https://github.com/Liblor/advanced_operating_systems_2020/blob/paging/faults-handling/lib/aos/threads.c#L370
during refill https://github.com/Liblor/advanced_operating_systems_2020/blob/paging/faults-handling/lib/aos/slab.c#L99
during slab_grow https://github.com/Liblor/advanced_operating_systems_2020/blob/paging/faults-handling/lib/aos/slab.c#L63 called by https://github.com/Liblor/advanced_operating_systems_2020/blob/paging/faults-handling/lib/aos/threads.c#L221
Implement paging_init_onthread(...)
, then we can uncomment the SELF_PAGING_WORKS
:dancing_women:
We merged master into this branch, see: https://github.com/Liblor/advanced_operating_systems_2020/tree/paging/faults-handling-master-merge
~New problems arose...~ It was related to the other issue, namely #89
Use dynamic heap notes
To tackle in #90
I suggest you merge 96a59feb5a082d67effaeeeb1668102638dd3f1d in here, I made a few renamings.
Work in progress Addresses parts of #73.
Implementation of Milestone 4 before refactoring paging module to use new range tracker.