9fdb29826f
New ro.kernel.watermark_scale_factor property is used to store the original value read from /proc/sys/vm/watermark_scale_factor before extra_free_kbytes.sh changes it. The original value is necessary to use the same reference point in case the script is invoked multiple times. The property is set by init the first time script is invoked and should never be changed afterwards. Bug: 242837506 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I7760484854a41394a2efda9445cff8cb61587514
6 lines
200 B
Text
6 lines
200 B
Text
typeattribute extra_free_kbytes coredomain;
|
|
|
|
init_daemon_domain(extra_free_kbytes)
|
|
|
|
# Only extra_free_kbytes script is allowed to store these properties
|
|
set_prop(extra_free_kbytes, init_storage_prop)
|