Does Android support virtual memory

Does Android support the concept of virtual memory? I read that it uses paging, but not swap. That is, it relies heavily on the ability of mmap () files and has a kernel page in the data from the file as needed (and delete these pages when it is not needed). However, it does not use swap space to display dirty pages.

Can any body comment?

+5
source share
2 answers

Android supports the concept of virtual memory. And the Android kernel supports swap. You can confirm this by looking at "CONFIG_SWAP = y" in the kernel source .config file.

swap "swapon". , ​​ SWAP, ​​android . "cat/proc/meminfo" adb .

PS: - .

+4

All Articles