Why don't most Android devices have swap area as typical OS does?

前端 未结 3 435
轻奢々
轻奢々 2021-02-04 01:24

Does any Android today support swap area which is suppose to boost the performance?

What are the considerations that make most Android devices drop that feature?

3条回答
  •  面向向阳花
    2021-02-04 01:34

    Android does support swap... Don't forget it's just plain Linux with some UI on it. :)

    However the support is dependent on the kernel you are using.. When using a kernel you should know if it supports swap space or not..

    If you are good in kernels, then grab the source, enable swap support and compile it. I guarantee that should be fun :p

    Personally my kernel supports swap space and I use a 20 MB file to act as a swap file.

提交回复
热议问题