Stop uevent after microdroid_manager

This gives us about 2MB of memory back.

Bug: 217572503
Test: run microdroid and check the memory usage
Change-Id: I9b64110b919edc8352efc01f9e0cf5195bf98e6d
This commit is contained in:
Jiyong Park 2022-08-23 14:50:29 +09:00
parent 61c6fd7921
commit 5bd2482c53
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ on init
setprop ro.debuggable ${ro.boot.microdroid.debuggable:-0}
on property:dev.bootcomplete=1
# Stop ueventd to save memory
stop ueventd
on init && property:ro.boot.microdroid.debuggable=1
# Mount tracefs (with GID=AID_READTRACEFS)
mount tracefs tracefs /sys/kernel/tracing gid=3012