Wei Wang
9cfac3746d
[automerger skipped] lmkd: use fd cache for cgroup migration am: 328e612f1b -s ours am: f59352a4d3 -s ours
...
am skip reason: Merged-In Ie7a9eb9676c58309f1407c5f8cc59b302f107d38 with SHA-1 0162e0361f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15881156
Change-Id: If6fe80731ff3aa9caf6bcd361bca29807663038e
2021-09-22 22:28:55 +00:00
Wei Wang
e8a416fadd
[automerger skipped] lmkd: migrate process to FOREGROUND sched group before kill am: 90f3c9e5c6 -s ours am: d1165a4975 -s ours
...
am skip reason: skipped by user wvw
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15828583
Change-Id: I999a1a7c815f3499bf0e4104e5599db17cca3da8
2021-09-22 22:28:55 +00:00
Wei Wang
bc2ff5d7e9
[automerger skipped] lmkd: use fd cache for cgroup migration am: 328e612f1b am: 820a3c1c33 -s ours
...
am skip reason: Merged-In Ie7a9eb9676c58309f1407c5f8cc59b302f107d38 with SHA-1 0162e0361f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15881156
Change-Id: I9a20be739a6f1a07adfe97eaaf8a12de668e206d
2021-09-22 22:25:09 +00:00
Wei Wang
1159ee9766
[automerger skipped] lmkd: migrate process to FOREGROUND sched group before kill am: 90f3c9e5c6 am: a2261d1e6b -s ours
...
am skip reason: skipped by user wvw
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15828583
Change-Id: I09086c2ab4cbb3c3f4703a0602896b550ff76873
2021-09-22 22:25:08 +00:00
Wei Wang
f59352a4d3
[automerger skipped] lmkd: use fd cache for cgroup migration am: 328e612f1b -s ours
...
am skip reason: Merged-In Ie7a9eb9676c58309f1407c5f8cc59b302f107d38 with SHA-1 0162e0361f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15881156
Change-Id: I46b16bb312656e4c4f30d700f4ec4ff53cd0898e
2021-09-22 22:19:41 +00:00
Wei Wang
d1165a4975
[automerger skipped] lmkd: migrate process to FOREGROUND sched group before kill am: 90f3c9e5c6 -s ours
...
am skip reason: skipped by user wvw
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15828583
Change-Id: I315aeaecde8646dbcb7e5ee13e919ccdc0bcc331
2021-09-22 22:19:39 +00:00
Wei Wang
820a3c1c33
lmkd: use fd cache for cgroup migration am: 328e612f1b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15881156
Change-Id: I8dc4aca715668b3f0208721a877b3ca29e4f07a3
2021-09-22 21:21:19 +00:00
Wei Wang
a2261d1e6b
lmkd: migrate process to FOREGROUND sched group before kill am: 90f3c9e5c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15828583
Change-Id: I24a0ba3f0afcfb7848cf426c00c1d34b8dc2878e
2021-09-22 21:21:18 +00:00
Wei Wang
c55f1b58a0
lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6 am: 022fa421c6 am: 7bfd31e6e3 am: 4bf3df28d2
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054
Change-Id: I1e5a4c53fcb6fa9b3f48f3c073f6df04f957a04e
2021-09-22 19:25:09 +00:00
Wei Wang
4bf3df28d2
lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6 am: 022fa421c6 am: 7bfd31e6e3
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054
Change-Id: Ic052e7d46099f1cbfe42d81ac77e37df41639324
2021-09-22 19:12:01 +00:00
Wei Wang
7bfd31e6e3
lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6 am: 022fa421c6
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054
Change-Id: I0405e4cf84706d15bf97fda53e8f5711943ca9f5
2021-09-22 18:59:48 +00:00
Wei Wang
022fa421c6
lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054
Change-Id: I6e90cb69fb9e446239212737f8ef2643699b1360
2021-09-22 18:38:47 +00:00
Wei Wang
328e612f1b
lmkd: use fd cache for cgroup migration
...
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
Merged-In: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
(cherry picked from commit 0162e0361f )
2021-09-22 18:35:19 +00:00
Wei Wang
dbb9a69dc6
lmkd: use fd cache for cgroup migration am: 0162e0361f
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054
Change-Id: Ie70f8800acdef24ccf8731215ce1b1cae8e01539
2021-09-22 18:27:25 +00:00
Wei Wang
90f3c9e5c6
lmkd: migrate process to FOREGROUND sched group before kill
...
BG group may have settings such as cpu.shares impacting reclaim
performance. Let us migrate task to foreground sched group similarly to
cpuset group.
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I75ee9f3486a2c76e65267a98e39edff96a5e1673
(cherry picked from commit 0195bcdba7 )
2021-09-21 14:54:44 -07:00
Wei Wang
0162e0361f
lmkd: use fd cache for cgroup migration
...
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
2021-09-21 14:38:49 -07:00
Suren Baghdasaryan
67cd87b7ef
[automerger skipped] lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4 am: 0e07e4e3fb -s ours am: cc809e9cab -s ours
...
am skip reason: Merged-In Iba34fc719a18d58b890549c7415bec869d471901 with SHA-1 fcb9cb6de4 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: Ic96012b80a48064594fbfa4e1058c0e14c4c8411
2021-09-17 06:31:04 +00:00
Suren Baghdasaryan
71d65e65f1
[automerger skipped] lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7 am: 32a2f953b0 -s ours am: 442ed76e03 -s ours
...
am skip reason: Merged-In Ia48fd51eab126d307a1604530b642e86cf250688 with SHA-1 e7d82ee7e7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: I8a816c7eb34092bd2c1073beead08fe2703661fd
2021-09-17 06:31:02 +00:00
Suren Baghdasaryan
cc809e9cab
[automerger skipped] lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4 am: 0e07e4e3fb -s ours
...
am skip reason: Merged-In Iba34fc719a18d58b890549c7415bec869d471901 with SHA-1 fcb9cb6de4 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: I155cf3d713a3a0904d0edf8570e376db0661ec12
2021-09-17 06:03:43 +00:00
Suren Baghdasaryan
442ed76e03
[automerger skipped] lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7 am: 32a2f953b0 -s ours
...
am skip reason: Merged-In Ia48fd51eab126d307a1604530b642e86cf250688 with SHA-1 e7d82ee7e7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: I4ef36fcd28f897e7da3423b4e575e3dc8b02854f
2021-09-17 06:03:42 +00:00
Suren Baghdasaryan
0bc76eaa5d
[automerger skipped] lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4 -s ours am: d31d0d1eb2 -s ours am: 73c23925e9 -s ours
...
am skip reason: Merged-In Iba34fc719a18d58b890549c7415bec869d471901 with SHA-1 0e64eadc21 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: I50e8c02e1b0e70d39ccab23f2350980202e7394d
2021-09-15 23:44:33 +00:00
Suren Baghdasaryan
823de4f6bf
[automerger skipped] lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7 -s ours am: d941a3e7bb -s ours am: 2c71d517e3 -s ours
...
am skip reason: Merged-In Ia48fd51eab126d307a1604530b642e86cf250688 with SHA-1 d0a800402c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: Ibf598f140c93fd5641f0ebd3760bc663fcf81f9f
2021-09-15 23:44:32 +00:00
Suren Baghdasaryan
73c23925e9
[automerger skipped] lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4 -s ours am: d31d0d1eb2 -s ours
...
am skip reason: Merged-In Iba34fc719a18d58b890549c7415bec869d471901 with SHA-1 0e64eadc21 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: I6cc22f296b196134c08141f2107ae934dbfcd0ea
2021-09-15 23:29:28 +00:00
Suren Baghdasaryan
2c71d517e3
[automerger skipped] lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7 -s ours am: d941a3e7bb -s ours
...
am skip reason: Merged-In Ia48fd51eab126d307a1604530b642e86cf250688 with SHA-1 d0a800402c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: I082cf993722773f5e7366106df783b6edb978b36
2021-09-15 23:29:27 +00:00
Suren Baghdasaryan
0e07e4e3fb
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: I2bbf4b0887fbdcd2b4c23cdda94e5800acf588e7
2021-09-15 23:19:18 +00:00
Suren Baghdasaryan
32a2f953b0
lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: I1cd180d62fb0f4553f6040b01417a73a6b0f4c70
2021-09-15 23:19:17 +00:00
Suren Baghdasaryan
d31d0d1eb2
[automerger skipped] lmkd: Do not re-initialize lmkd when persistent properties are loaded am: fcb9cb6de4 -s ours
...
am skip reason: Merged-In Iba34fc719a18d58b890549c7415bec869d471901 with SHA-1 0e64eadc21 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15798712
Change-Id: I414d3c898dd7503119e37f9e7ad2a601c51cbbba
2021-09-15 23:18:00 +00:00
Suren Baghdasaryan
d941a3e7bb
[automerger skipped] lmkd: Add support for persist.device_config.lmkd_native.* properties am: e7d82ee7e7 -s ours
...
am skip reason: Merged-In Ia48fd51eab126d307a1604530b642e86cf250688 with SHA-1 d0a800402c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15788312
Change-Id: Ice7ea4aac70782659cc2009cea1e6614b13d85a9
2021-09-15 23:17:59 +00:00
Wei Wang
5ebb4d47ec
lmkd: migrate process to FOREGROUND sched group before kill am: 0195bcdba7 am: a95efc0941 am: 50bf1dc40c am: 193b84cd38 am: fc109ed428
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1825954
Change-Id: I0eeb4905beaf38136433e3f9a4f1343c3c3114fe
2021-09-14 15:39:46 +00:00
Wei Wang
fc109ed428
lmkd: migrate process to FOREGROUND sched group before kill am: 0195bcdba7 am: a95efc0941 am: 50bf1dc40c am: 193b84cd38
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1825954
Change-Id: I4f53520854d07eb4a58b455e0373bbb1edd178c4
2021-09-14 15:27:30 +00:00
Wei Wang
193b84cd38
lmkd: migrate process to FOREGROUND sched group before kill am: 0195bcdba7 am: a95efc0941 am: 50bf1dc40c
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1825954
Change-Id: I73a62f67750c64f87739d64ea0ba3f9010b94f70
2021-09-14 15:13:34 +00:00
Wei Wang
50bf1dc40c
lmkd: migrate process to FOREGROUND sched group before kill am: 0195bcdba7 am: a95efc0941
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1825954
Change-Id: I675954885ae62c41b441865dffc8ce9e65529146
2021-09-14 15:03:43 +00:00
Wei Wang
a95efc0941
lmkd: migrate process to FOREGROUND sched group before kill am: 0195bcdba7
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1825954
Change-Id: I9b572a9786cf5b7a583730654facca0e30bf57bb
2021-09-14 14:48:51 +00:00
Wei Wang
0195bcdba7
lmkd: migrate process to FOREGROUND sched group before kill
...
BG group may have settings such as cpu.shares impacting reclaim
performance. Let us migrate task to foreground sched group similarly to
cpuset group.
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I75ee9f3486a2c76e65267a98e39edff96a5e1673
2021-09-13 19:07:26 -07:00
Suren Baghdasaryan
fcb9cb6de4
lmkd: Do not re-initialize lmkd when persistent properties are loaded
...
When a device boots, lmkd starts before persistent properties are loaded,
therefore if experiments set any flags, the corresponding persistent
properties will trigger change notifications when they are first loaded
during boot.
In order to prevent lmkd from re-initializing on every property load,
mark persistent property change by setting lmkd.reinit to 0 and delay
lmkd re-initialization until sys.boot_completed=1 when all properties
are set and only one re-initialization will capture them all. On devices
with no experiment flags being set lmkd.reinit will be undefined at the
boot completion time and re-initialization will not be triggered at all.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Test: adb shell device_config put lmkd_native thrashing_limit 100
Test: adb reboot; adb -b all logcat | grep lmkd
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Iba34fc719a18d58b890549c7415bec869d471901
Merged-In: Iba34fc719a18d58b890549c7415bec869d471901
2021-09-09 15:11:08 -07:00
Suren Baghdasaryan
e7d82ee7e7
lmkd: Add support for persist.device_config.lmkd_native.* properties
...
Allow persist.device_config.lmkd_native.* to override ro.lmk.*
properties to enable experiments with lmkd configuration properties.
Experiments will be able to set appropriate
persist.device_config.lmkd_native.<name> property which will issue
"lmkd --reinit" command to reinitialize lmkd with new parameters.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia48fd51eab126d307a1604530b642e86cf250688
Merged-In: Ia48fd51eab126d307a1604530b642e86cf250688
2021-09-09 15:09:45 -07:00
Suren Baghdasaryan
ee407e50fd
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: 0e64eadc21 am: e87dd04e20 am: 6ea9d83ddd am: ca40541bfc am: 0b427d1198
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1815756
Change-Id: I773ab64fad553a672ed418aaaf08cf328606548c
2021-09-02 00:59:11 +00:00
Suren Baghdasaryan
0b427d1198
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: 0e64eadc21 am: e87dd04e20 am: 6ea9d83ddd am: ca40541bfc
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1815756
Change-Id: I94d996795e6fa035be6ca4733fbd561c5e1cb1a2
2021-09-02 00:44:57 +00:00
Suren Baghdasaryan
ca40541bfc
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: 0e64eadc21 am: e87dd04e20 am: 6ea9d83ddd
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1815756
Change-Id: Ic7fc8573cfa282340d19c5430b18ca0333628309
2021-09-02 00:33:32 +00:00
Suren Baghdasaryan
6ea9d83ddd
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: 0e64eadc21 am: e87dd04e20
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1815756
Change-Id: I275bb50a28e949971d44b36c4133763200acce73
2021-09-02 00:18:56 +00:00
Suren Baghdasaryan
e87dd04e20
lmkd: Do not re-initialize lmkd when persistent properties are loaded am: 0e64eadc21
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1815756
Change-Id: I9862d501675abeec5f4306e111d148bcc7ae8fb9
2021-09-01 23:58:43 +00:00
Suren Baghdasaryan
aced711991
lmkd: Do not re-initialize lmkd when persistent properties are loaded
...
When a device boots, lmkd starts before persistent properties are loaded,
therefore if experiments set any flags, the corresponding persistent
properties will trigger change notifications when they are first loaded
during boot.
In order to prevent lmkd from re-initializing on every property load,
mark persistent property change by setting lmkd.reinit to 0 and delay
lmkd re-initialization until sys.boot_completed=1 when all properties
are set and only one re-initialization will capture them all. On devices
with no experiment flags being set lmkd.reinit will be undefined at the
boot completion time and re-initialization will not be triggered at all.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Test: adb shell device_config put lmkd_native thrashing_limit 100
Test: adb reboot; adb -b all logcat | grep lmkd
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Iba34fc719a18d58b890549c7415bec869d471901
Merged-In: Iba34fc719a18d58b890549c7415bec869d471901
2021-09-01 16:12:55 +00:00
Suren Baghdasaryan
b91ecaa3e8
lmkd: Add support for persist.device_config.lmkd_native.* properties
...
Allow persist.device_config.lmkd_native.* to override ro.lmk.*
properties to enable experiments with lmkd configuration properties.
Experiments will be able to set appropriate
persist.device_config.lmkd_native.<name> property which will issue
"lmkd --reinit" command to reinitialize lmkd with new parameters.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia48fd51eab126d307a1604530b642e86cf250688
Merged-In: Ia48fd51eab126d307a1604530b642e86cf250688
2021-09-01 16:08:01 +00:00
Suren Baghdasaryan
0e64eadc21
lmkd: Do not re-initialize lmkd when persistent properties are loaded
...
When a device boots, lmkd starts before persistent properties are loaded,
therefore if experiments set any flags, the corresponding persistent
properties will trigger change notifications when they are first loaded
during boot.
In order to prevent lmkd from re-initializing on every property load,
mark persistent property change by setting lmkd.reinit to 0 and delay
lmkd re-initialization until sys.boot_completed=1 when all properties
are set and only one re-initialization will capture them all. On devices
with no experiment flags being set lmkd.reinit will be undefined at the
boot completion time and re-initialization will not be triggered at all.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Test: adb shell device_config put lmkd_native thrashing_limit 100
Test: adb reboot; adb -b all logcat | grep lmkd
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Iba34fc719a18d58b890549c7415bec869d471901
2021-09-01 00:56:35 -07:00
Suren Baghdasaryan
7a9a02a838
lmkd: Add support for persist.device_config.lmkd_native.* properties am: d0a800402c am: c51f018a6d am: 345fb264a4 am: deb55f8395 am: bb587fdfff
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1785437
Change-Id: I3720e7f4b467e15f86fc0a323df53e994b62a75d
2021-08-31 20:44:31 +00:00
Suren Baghdasaryan
bb587fdfff
lmkd: Add support for persist.device_config.lmkd_native.* properties am: d0a800402c am: c51f018a6d am: 345fb264a4 am: deb55f8395
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1785437
Change-Id: I276d1ebbd0b6b00cc439e3f9832e6382c3aae4e2
2021-08-31 20:24:45 +00:00
Suren Baghdasaryan
deb55f8395
lmkd: Add support for persist.device_config.lmkd_native.* properties am: d0a800402c am: c51f018a6d am: 345fb264a4
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1785437
Change-Id: Ib92c5fa0fb55359762419021c1de551b68ffdc55
2021-08-31 20:12:10 +00:00
Suren Baghdasaryan
345fb264a4
lmkd: Add support for persist.device_config.lmkd_native.* properties am: d0a800402c am: c51f018a6d
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1785437
Change-Id: I370b9988d5d94b56069c59656dd47e9f96c0546b
2021-08-31 20:03:28 +00:00
Suren Baghdasaryan
c51f018a6d
lmkd: Add support for persist.device_config.lmkd_native.* properties am: d0a800402c
...
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1785437
Change-Id: Ib77d4ce588ec31631e6721130ea0a163afe83bed
2021-08-31 19:52:44 +00:00
Suren Baghdasaryan
d0a800402c
lmkd: Add support for persist.device_config.lmkd_native.* properties
...
Allow persist.device_config.lmkd_native.* to override ro.lmk.*
properties to enable experiments with lmkd configuration properties.
Experiments will be able to set appropriate
persist.device_config.lmkd_native.<name> property which will issue
"lmkd --reinit" command to reinitialize lmkd with new parameters.
Bug: 194316048
Test: adb shell device_config put lmkd_native thrashing_limit_critical 350
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia48fd51eab126d307a1604530b642e86cf250688
2021-08-31 09:20:46 -07:00