3 ms·
It's different-ish. iPadOS is still a more limited/controlled OS and the swap policy is also more limited. You can see it in the open source kernel where it's c
by astrange 3y ago
It's different-ish. iPadOS is still a more limited/controlled OS and the swap policy is also more limited. You can see it in the open source kernel where it's called "app swap", so it doesn't swap out the OS, but on macOS it can.
"Limited" makes it, well, limited, but it has performance advantages: fewer unexpected page faults mean audio/video processes won't unexpectedly drop a frame as often, and there's fewer disk writes which is good for the lifespan of the hardware it runs on.
Btw iOS actually has a very limited swap policy called "freezer" that only applies to suspended background apps, and only when it's in the performance budget.