lowmem: add new api for triggering early LMK in swap module 06/187506/4
authorByungSoo Kim <bs1770.kim@samsung.com>
Tue, 13 Jun 2017 04:58:01 +0000 (13:58 +0900)
committerPaweł Szewczyk <p.szewczyk@samsung.com>
Mon, 24 Sep 2018 12:58:34 +0000 (14:58 +0200)
commitac3e43e81b624c3c6d6f11916c37a1a234b4eba6
treee1dad4b3f232e7639e33e2bee130d9dce738514a
parent8285f3f46af6e4b657ba717a9c5cd6f0cc921aa2
lowmem: add new api for triggering early LMK in swap module

If swap devices are almost full, it can make sluggish issue.
So, it requries to trigger early LMK in swap modules.
And it is necessary to insert LMK type in order to decide
whether LMK will kill background applications or find out mallicious system daemons.

Change-Id: I6e215f41ec1b3282f15f67f8df81439f9f21fba8
Signed-off-by: ByungSoo Kim <bs1770.kim@samsung.com>
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
src/memory/lowmem-handler.h
src/memory/vmpressure-lowmem-handler.c