4 ms·
> I wonder what you meant by "mobile devices don't page." Mobile devices have memory-mapped pages, but they don't have VM or overcommit. Your process just gets
by astrange 10y ago
> I wonder what you meant by "mobile devices don't page."
Mobile devices have memory-mapped pages, but they don't have VM or overcommit. Your process just gets killed if it's using too much memory.
Page faults are still important though… actually even more important.
- justin66 10y agoAre we talking about the same thing when we say "mobile devices?" Like, Android phones? Because if there's something lobotomized about their virtual memory, that's something I'm curious about, if you could share a reference of some sort.
- astrange 10y agoI don't know if Android swaps (almost certainly not) but iOS does not swap. It doesn't have a pager. Of course it does have "VM".
- justin66 10y agoI dug into it a little. It's mostly for posterity at this point but if anyone wants to read about it, look up the Android lowmemory killer, which is sort of an enhancement to the OOM killer's functionality. It's a conventional enough Linux virtual memory otherwise.