lmkd: fix the cgroup attribute name to MemCgroupEventControl am: bf819b5593 am: 14512ee7af am: 09c2245060 am: 7d2fad9ecd
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2080181 Change-Id: Ie2325f3c6bba3a46f2b8d5dd341c9a72d88a9aa6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
788190b880
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