lmkd: fix the cgroup attribute name to MemCgroupEventControl am: bf819b5593 am: 14512ee7af am: 09c2245060
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2080181 Change-Id: Ibb8a4af76320e100862d5d690f9a6df07f39e73c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7d2fad9ecd
2
lmkd.cpp
2
lmkd.cpp
|
|
@ -3239,7 +3239,7 @@ static bool init_mp_common(enum vmpressure_level level) {
|
|||
goto err_open_mpfd;
|
||||
}
|
||||
|
||||
evctlfd = open(GetCgroupAttributePath("CgroupEventControl").c_str(), O_WRONLY | O_CLOEXEC);
|
||||
evctlfd = open(GetCgroupAttributePath("MemCgroupEventControl").c_str(), O_WRONLY | O_CLOEXEC);
|
||||
if (evctlfd < 0) {
|
||||
ALOGI("No kernel memory cgroup event control (errno=%d)", errno);
|
||||
goto err_open_evctlfd;
|
||||
|
|
|
|||
Loading…
Reference in New Issue