Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bec6007d authored by Michael Rosenfeld's avatar Michael Rosenfeld Committed by Automerger Merge Worker
Browse files

Merge "Add a system property to init that drops caches." am: 12744bd2 am:...

Merge "Add a system property to init that drops caches." am: 12744bd2 am: 2b17138b am: dc3cc6a6

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1584525

Change-Id: Ibda1e5d026927f94104886276fb8736f1bf26e11
parents 9f08a2d1 dc3cc6a6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1141,6 +1141,11 @@ on property:sys.boot_completed=1
on property:sys.sysctl.extra_free_kbytes=*
    write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}

# Allow users to drop caches
on property:perf.drop_caches=3
    write /proc/sys/vm/drop_caches 3
    setprop perf.drop_caches 0

# "tcp_default_init_rwnd" Is too long!
on property:net.tcp_def_init_rwnd=*
    write /proc/sys/net/ipv4/tcp_default_init_rwnd ${net.tcp_def_init_rwnd}