LMKD (Low Memory Kill Daemon) is a core component of Android system. It keeps watching memory pressure to prevent that the system-wide memory is now being thrashed or not with a few cool algorithms. This process goes on before OOM-killer of Kernel wakes up.
- Watch the state of memory pressure.
- Handle Android apps through OOM score.
- Pick one process by victim selecting algorithms.
- Finally kill victim and try reclaiming free pages.
Therefore, it takes the responsibility of making UX better and stabilize entire system.
Top comments (0)