27 ms·
I checked xv6 and it doesn’t swap out processes. What teaching OSs are you thinking of?
by fanf2 2y ago
I checked xv6 and it doesn’t swap out processes. What teaching OSs are you thinking of?
- rzzzt 2y agoMinix? https://github.com/0xffea/MINIX3/blob/c25ee5d4eac28560ea0caff00451c622f2f9b154/servers/init/init.c#L47 https://github.com/0xffea/MINIX3/blob/c25ee5d4eac28560ea0caf...
- nickelpro 2y agoThe x86 version did, here's NYU's fork: Scheduler: https://github.com/AnubisLMS/xv6/blob/main/kernel/proc.c#L265-L273 https://github.com/AnubisLMS/xv6/blob/main/kernel/proc.c#L26... Page Table Swap: https://github.com/AnubisLMS/xv6/blob/main/kernel/vm.c#L151-L163 https://github.com/AnubisLMS/xv6/blob/main/kernel/vm.c#L151-...