commit | 7277af87cc2a36661222c20ab7173c7933cd1a34 | [log] [tgz] |
---|---|---|
author | Sherry Yang <sherryy@android.com> | Fri Aug 25 19:05:50 2017 -0700 |
committer | Sherry Yang <sherryy@android.com> | Fri Aug 25 20:11:03 2017 -0700 |
tree | 81628518da27efcd0c91ca511a4d18e7ee247d9a | |
parent | 14f2ee3581b867e70567693b4f3520a80ad2d9a3 [diff] |
Memory pressure Create continuous memory pressure by adjusting a child process's oom score and allocate in the child. When a child is killed by the low-memory-killer, fork another process and continues until the program is killed or certain number of iterations has reached. Bug: 63926541 Test: run mem-pressure on target Change-Id: Ic8ee60da7519c750de4bd690f26e31fa80c5cd49