Commit Graph

529 Commits

Author SHA1 Message Date
Suren Baghdasaryan 21a7d9da19 Merge "libpsi: initial revision" am: bb405bf986 am: b9550970ef
am: 2b063925d1

Change-Id: I24f70b6f846a90dede9c964f309f76fcc04f98e7
2019-01-29 21:33:14 -08:00
Suren Baghdasaryan 79a94be9a2 Merge "libpsi: initial revision" am: bb405bf986
am: b9550970ef

Change-Id: I61ea0221b2fc366359fe6c9de7c0435bb2fb3095
2019-01-29 21:15:13 -08:00
Suren Baghdasaryan c750961a19 Merge "libpsi: initial revision"
am: bb405bf986

Change-Id: I7dde222de933f7f52d4d7e09a6d3806d88e23a69
2019-01-29 21:04:17 -08:00
Tim Murray d6348dfa08 libpsi: initial revision
New library to create, register and destroy PSI monitors in a consistent
way with lmkd.

Test: used within lmkd
Bug: 111308141
Change-Id: If243a97f178e90fe41e2de90c7b858ba82440279
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-30 04:47:28 +00:00
Suren Baghdasaryan 5cad577ff4 [automerger skipped] DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users"" am: 9491078300 -s ours am: 7f758a81e4 -s ours
am: 8f6481d8cd -s ours
am skip reason: subject contains skip directive

Change-Id: I7f5e7d4e2972ef5febb76216da49e65175e5f1ea
2019-01-25 09:39:35 -08:00
Suren Baghdasaryan 479f61620c [automerger skipped] DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users"" am: 9491078300 -s ours
am: 7f758a81e4 -s ours
am skip reason: subject contains skip directive

Change-Id: Icc1aed0aab4a45e674c56083648bdb348c73db3e
2019-01-25 09:27:31 -08:00
Suren Baghdasaryan 86f94e0e4a [automerger skipped] DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users""
am: 9491078300 -s ours
am skip reason: subject contains skip directive

Change-Id: I6a090381ab3764d9ea2a5bed1de39aef1872b6a7
2019-01-25 09:21:34 -08:00
Suren Baghdasaryan de92718882 DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users""
This reverts commit 1bef8c550c6c9118969a93f14d9c5933cb7b2811.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: Ib341ac80e2f88c13a7815a490ea2d9422ebdf55f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-25 16:49:18 +00:00
Suren Baghdasaryan 721c3da834 [automerger skipped] DO NOT MERGE: Revert "Add libprocessgroup into VNDK" am: c4a02d25a9 -s ours am: 88fe832bd1 -s ours
am: 83af010b08 -s ours
am skip reason: subject contains skip directive

Change-Id: I63b5e75e5b5d8062e8faeb100b2010193df51bb4
2019-01-23 23:30:17 -08:00
Suren Baghdasaryan 275d26abaf [automerger skipped] DO NOT MERGE: Revert "Add libprocessgroup into VNDK" am: c4a02d25a9 -s ours
am: 88fe832bd1 -s ours
am skip reason: subject contains skip directive

Change-Id: I9cebea94be96453006f637eadfaa86604d2477cb
2019-01-23 23:17:40 -08:00
Suren Baghdasaryan 87cbcdc3fe [automerger skipped] DO NOT MERGE: Revert "Add libprocessgroup into VNDK"
am: c4a02d25a9 -s ours
am skip reason: subject contains skip directive

Change-Id: I9131c17d5fc372db05699f1aca5138fba1237c7a
2019-01-23 23:08:47 -08:00
Suren Baghdasaryan efeeaafc9b DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users"
This reverts commit 02843339f998f05c712549658c9f8f8bc14ff57d.

Reason for revert: Broke AOSP

Change-Id: I62f91c0adf440b5da0a145862b04dd27a7016faf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-23 20:43:28 -08:00
Wei Wang fb647dfd8b [automerger skipped] lmkd: bump process priority and set to FOREGROUND group before kill am: 6f2198b33c -s ours
am: fa31b7ab46 -s ours
am skip reason: change_id Iae7aa35483eb0e8bbeccaa425559c6021c845ee1 with SHA1 2d95c10847 is in history

Change-Id: I1de78dfc910c912169f97fb74960de3d510f1c9b
2019-01-23 08:52:25 -08:00
Wei Wang 1e030a55af [automerger skipped] lmkd: bump process priority and set to FOREGROUND group before kill
am: 6f2198b33c -s ours
am skip reason: change_id Iae7aa35483eb0e8bbeccaa425559c6021c845ee1 with SHA1 2d95c10847 is in history

Change-Id: Ie6edfd5e201455c5b1e55a38ba88cdf72d9519fd
2019-01-23 08:38:30 -08:00
Wei Wang 6dd07fcb53 lmkd: bump process priority and set to FOREGROUND group before kill
This should help speed up reclaim memory.

Bug: 118468011
Bug: 121439388
Test: run mem-pressure with lmkd
Change-Id: Iae7aa35483eb0e8bbeccaa425559c6021c845ee1
Merged-In: Iae7aa35483eb0e8bbeccaa425559c6021c845ee1
2019-01-23 05:20:36 +00:00
Suren Baghdasaryan 4b7173d4a3 [automerger skipped] Merge changes from topic "move sched_policy functions" am: ca50ee91b5 am: e8b2ac49bb
am: 6738419e09 -s ours
am skip reason: change_id Icc052080e1bce46ce06f7264446950cab0490a95 with SHA1 634e884419 is in history

Change-Id: I80026ca51b85fa55a4051acdfca216da040a714d
2019-01-22 14:06:44 -08:00
Suren Baghdasaryan f3c0a84339 Merge changes from topic "move sched_policy functions" am: ca50ee91b5
am: e8b2ac49bb

Change-Id: I9ba62bc4cce474b2a12af5a1035714ac9dd39703
2019-01-22 13:41:10 -08:00
Suren Baghdasaryan 8d13df7d38 Merge changes from topic "move sched_policy functions"
am: ca50ee91b5

Change-Id: I92310f7dd60384b95c056c98cdc616857ebcd1ec
2019-01-22 13:03:07 -08:00
Suren Baghdasaryan fb99b0a5f9 Add dependencies on libprocessgroup for sched_policy users
After moving sched_policy functions into libprocessgroup its users require
additional dependency and inclusion of sched_policy_ctrl.h header.

Exempt-From-Owner-Approval: janitorial

Bug: 111307099
Test: builds, boots

Merged-In: Icc052080e1bce46ce06f7264446950cab0490a95
Change-Id: Icc052080e1bce46ce06f7264446950cab0490a95
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-22 18:19:45 +00:00
Suren Baghdasaryan 74b8abcda7 Add dependencies on libprocessgroup for sched_policy users
After moving sched_policy functions into libprocessgroup its users require
additional dependency and inclusion of sched_policy_ctrl.h header.

Exempt-From-Owner-Approval: janitorial

Bug: 111307099
Test: builds, boots

Change-Id: Icc052080e1bce46ce06f7264446950cab0490a95
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-17 18:24:10 -08:00
Wei Wang 042400c4fc Merge "lmkd: bump process priority and set to FOREGROUND group before kill" am: 3f4b005022 am: 528f4a7e6f
am: 33c4d54eb1

Change-Id: I81299b8f335f0f9e79be3514bc55ddd08a81587d
2019-01-15 19:21:40 -08:00
Wei Wang 3807aa6560 Merge "lmkd: bump process priority and set to FOREGROUND group before kill" am: 3f4b005022
am: 528f4a7e6f

Change-Id: I0d052a83f04e5188980910f29e83b872b7d522f4
2019-01-15 19:17:58 -08:00
Wei Wang 2b34702a8b Merge "lmkd: bump process priority and set to FOREGROUND group before kill"
am: 3f4b005022

Change-Id: Ib77699153224bcc95c0929bc59361702c50bce94
2019-01-15 19:13:21 -08:00
Wei Wang 8c55f2b664 Merge "lmkd: bump process priority and set to FOREGROUND group before kill" 2019-01-16 03:06:21 +00:00
Tom Cherry bab7866015 Merge "lmkd: add missing libcutils library to test" am: 173a02b439 am: 5928869e6f
am: 9a05fb3d64

Change-Id: I7c4b303ed67a551c9148781345e4fae1f676503d
2019-01-15 18:03:23 -08:00
Tom Cherry 281f6bb95e Merge "lmkd: add missing libcutils library to test" am: 173a02b439
am: 5928869e6f

Change-Id: Iba2f41f1c83b58df0ecff2fd6cf5d395bfa051b4
2019-01-15 17:23:58 -08:00
Tom Cherry ef9cbe71b2 Merge "lmkd: add missing libcutils library to test"
am: 173a02b439

Change-Id: Ib3dc6e124cfc129145e43ae806de73061652cb08
2019-01-15 17:03:49 -08:00
Wei Wang f1ee2e1505 lmkd: bump process priority and set to FOREGROUND group before kill
This should help speed up reclaim memory.

Bug: 118468011
Test: run mem-pressure with lmkd
Change-Id: Iae7aa35483eb0e8bbeccaa425559c6021c845ee1
2019-01-15 14:50:19 -08:00
Tom Cherry 4a28d2a270 lmkd: add missing libcutils library to test
lmkd's test depends on the socket_local_client() function from
libcutils, but since liblog also exposes this symbol weakly, that is
the symbol that gets used instead of the intended libcutil's copy of
the symbol.

Test: build
Change-Id: I294fa157a7f50881bf6360922419976eb1ee3ac7
2019-01-15 14:14:20 -08:00
Jim Blackler 395ab797d0 [automerger skipped] Merge "Add start time to LmkKillOccurred" am: 34f55bd45a am: 258b220b01 -s ours
am: ad67d6fa3c -s ours
am skip reason: change_id I4ef6433391c8758626334731d2b5de038e4468ae with SHA1 34c3cb84a0 is in history

Change-Id: Id5209507ed48b71f963a3a23ac8f709b3bab3da1
2019-01-09 05:34:17 -08:00
Jim Blackler 5ce271a2c5 [automerger skipped] Merge "Add start time to LmkKillOccurred" am: 34f55bd45a
am: 258b220b01 -s ours
am skip reason: SHA1 258b220b01 skipped by user jimblackler

Change-Id: Iddcb13c6aacfefdc505c7fdcb1cd525c0713bb71
2019-01-09 05:19:00 -08:00
Jim Blackler 350fecb560 Merge "Add start time to LmkKillOccurred"
am: 34f55bd45a

Change-Id: I912af2f3ac71fda3d949deb5189ff1834340f08f
2019-01-09 00:57:22 -08:00
Jim Blackler f52bcb9c8f Add start time to LmkKillOccurred
This is to measure an application's behavior with respect to being LMKed
(the longer an app lives before being LMKed, the better).

Bug: 119854389
Test: Manual
Change-Id: I4ef6433391c8758626334731d2b5de038e4468ae
Merged-In: I4ef6433391c8758626334731d2b5de038e4468ae
(cherry picked from I4ef6433391c8758626334731d2b5de038e4468ae)
2019-01-04 11:36:54 +00:00
Xin Li e86b771c4f [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 2f2f638fdf -s ours am: 0acfc87001 -s ours
am: fc7913888a  -s ours

Change-Id: I8bf9db3fd0da5be1c9e20ececf3f7ef5e1ea6ead
2018-12-13 14:00:47 -08:00
Xin Li 4500cc1cce [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 2f2f638fdf -s ours
am: 0acfc87001  -s ours

Change-Id: I71bc8d4951bfdbbac6647f875827b7e1c217106e
2018-12-13 12:21:31 -08:00
Xin Li d45d6e6326 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
am: 2f2f638fdf  -s ours

Change-Id: Ieb3bb5fae81eebeca7596ca4901c2dc77ec8733e
2018-12-13 11:26:27 -08:00
Xin Li b40b4f9d70 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master am: 337a781009 -s ours
am: dc96985efb  -s ours

Change-Id: I32890669ed6301901d64e7c53b75da5939afee26
2018-12-11 15:40:51 -08:00
Xin Li f560590b92 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
am: 337a781009  -s ours

Change-Id: If04c76722e7856c41ff9932970ad73617d06e720
2018-12-11 15:09:39 -08:00
Xin Li 85e4ce5ac7 DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Bug: 120502534
Change-Id: Id4f4f66ffb8104d953957f1c44dff6f549a387bb
2018-12-11 14:46:12 -08:00
Xin Li 6778a6c07b DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
Bug: 120502534
Change-Id: I0ab5735530d24f669cc43c961cf2118427b32a7b
2018-12-11 20:23:55 +00:00
Bill Rassieur 6bb974bc2a Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.\n\nBUG: 120448245
Change-Id: Ia66dd2a90e074d2fcb0dbaeb424031a41752dd03
2018-12-04 17:00:05 +00:00
Jim Blackler 8ff3b902d5 Add start time to LmkKillOccurred
This is to measure an application's behavior with respect to being LMKed
(the longer an app lives before being LMKed, the better).

Bug: 119854389
Test: Manual
Change-Id: I4ef6433391c8758626334731d2b5de038e4468ae
2018-11-28 09:26:38 +00:00
Suren Baghdasaryan 7f923eda33 Merge "lmkd: Cleanup unused code for killing processes in bulk" am: d04b38b0e5 am: 46d6d26c6c
am: 76cc42248e

Change-Id: Id1faa246044963fac4c5d1b7a016d8eebd830751
2018-10-29 13:51:31 -07:00
Suren Baghdasaryan 46b654d258 Merge "lmkd: retune rate at which processes are killed" am: d5eaeffcf3 am: 4d8a9caf30
am: ea13ea4669

Change-Id: I2a1cfb849d8600dcbb3a6b180f48078a710825b4
2018-10-29 13:50:39 -07:00
Suren Baghdasaryan a8944aa6c5 Merge "lmkd: Cleanup unused code for killing processes in bulk" am: d04b38b0e5
am: 46d6d26c6c

Change-Id: I7ce93b79b64d43eae08a4b316e4cbb655e3d4e06
2018-10-29 13:44:53 -07:00
Suren Baghdasaryan 7d850ecac4 Merge "lmkd: retune rate at which processes are killed" am: d5eaeffcf3
am: 4d8a9caf30

Change-Id: Iba588d2de887372874bacb1f0a6dc829c0c021c7
2018-10-29 13:44:01 -07:00
Suren Baghdasaryan 68fe0cbc93 Merge "lmkd: Cleanup unused code for killing processes in bulk"
am: d04b38b0e5

Change-Id: Icbbc888b5a2049a94e55e48eaa9510981c114ebf
2018-10-29 13:31:26 -07:00
Suren Baghdasaryan f12fdbe1d6 Merge "lmkd: retune rate at which processes are killed"
am: d5eaeffcf3

Change-Id: I5012c959668b9bf2f6ea055e6186be551bf5db20
2018-10-29 13:30:42 -07:00
Tim Murray aa6ada0d0d [automerger skipped] DO NOT MERGE: lmkd: retune rate at which processes are killed am: afb3a15f39 -s ours
am: 82fa720305  -s ours

Change-Id: I623f5065081adf1a257ebfc1f1f527302fa96ea4
2018-10-29 10:19:11 -07:00
Tim Murray e0b5a53c5b [automerger skipped] DO NOT MERGE: lmkd: retune rate at which processes are killed
am: afb3a15f39  -s ours

Change-Id: I6f11779b2b686ac61f4444e2dfba311ac6b4a6c9
2018-10-29 10:14:09 -07:00