Age | Commit message (Collapse) | Author |
|
and <= 5.4
The tracing instance takes extra RAM and is not needed on devices running older kernels.
Bug: 194156700
Test: manual on a Pixel device
Signed-off-by: Alexander Potapenko <glider@google.com>
Merged-In: I794062741688ebea0e4bc500723a966f8f646ee1
Change-Id: Ie8614e67a89cea67bed88427820fefdf110713c9
(cherry picked from commit 17b1c428d493da1bfc4beffd90b0ac2d0401fc06)
Merged-In:Ie8614e67a89cea67bed88427820fefdf110713c9
|
|
The main users of this instance are KFENCE and MTE-aided KASAN, which are only supported on arm64.
Skip creation of this tracing instance on 32-bit systems to save ~6Mb memory on low-end devices.
Bug: 195089948
Bug: 194719088
Bug: 194156700
Test: manual on Pixel device
Merged-In: Icaf762715fed7a282b1ad738c10bcb45dc848f4d
Change-Id: I61694ce174fa745ef9fd50ca7464b5a9e1d1e011
(cherry picked from commit c81fec7d8eda91bdbbed87606bd3c844b5605214)
Merged-In:I61694ce174fa745ef9fd50ca7464b5a9e1d1e011
|
|
This property will hold the major.minor part of the kernel version (e.g. "5.4"), allowing init scripts to act depending on that version, enabling and disabling certain features.
Bug: 194156700
Test: manual on a Pixel device
Signed-off-by: Alexander Potapenko <glider@google.com>
Merged-In: Icec640b8a7150b344d9aa3bc0bdbcdae050c7c45
Change-Id: I5af411e39da600e5e0f6703f3a2a4930d509e29d
(cherry picked from commit 1c496e94e0b7fb4425d05b6b9764700842723dfd)
Merged-In:I5af411e39da600e5e0f6703f3a2a4930d509e29d
|
|
Change-Id: I064754a597930382a06429d40e7046cadeafa786
|
|
and <= 5.4 am: 17b1c428d4 am: 9c75c6983a
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981481
Change-Id: I07e546548847d5741000cf1fc58bd22a01c9774d
|
|
64-bit systems. am: c81fec7d8e -s ours am: 4edf845185 -s ours
am skip reason: skipped by user glider
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981480
Change-Id: I27cc0ad3f6074fd2376bceafa002dcdb1147e588
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981479
Change-Id: I4a9c0c38b7015a770fea5a9ad518e2e17a799042
|
|
and <= 5.4 am: 17b1c428d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981481
Change-Id: Ied7cd88b05e75b7aa5e3333a55cd5524c78ec427
|
|
64-bit systems. am: c81fec7d8e -s ours
am skip reason: skipped by user glider
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981480
Change-Id: I090ea8262ddfc1da119b3dbf2e61c32bf67a6c9b
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15981479
Change-Id: I5f18d4e1e19d01c865ae40ae8e3368d67a3627e0
|
|
s-keystone-qcom-release
Change-Id: Ic1e47b52616262f935b586524fc89a70cad048e3
|
|
Change-Id: Id04e29c2e6639a50d8ad7accc675e03d38f50b6c
|
|
s-keystone-qcom-release
Change-Id: Ie990a33e3851f2b7442b48fb2fa7916c01dad8dc
|
|
Change-Id: Ibb7a0d494fb0305c6864809bbad904772f981d70
|
|
Since vendor has a way to override the group cpu/schedtune setup, we
cannot assume the group will always return valid data. This CL let
get_sched_policy to fallback to cpuset if no valid data found in
cpu/schedtune cgroup. In longer term, we should find a way to cache the
group or app's process state in framework other than relying on reading
cgroup back.
Test: /data/nativetest64/libcutils_test/libcutils_test
Bug: 210066228
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8b4396365a7fc2d93e3a22746195585c140eef3c
|
|
Change-Id: I2aba89fc6d9fb5d79acb5686c37d1594984b07e2
|
|
|
|
Change-Id: I333041392b22ff1cdbc16058a005daca31f11ef8
|
|
into sc-v2-dev
|
|
1) App doesn't have cgroup access and there is no purpose of reading cgroup
for app. For system_server it should be known in foreground group. So
there is no benefit of reading group.
2) Reading cgroup in apps can also cause contention for other cgroup
operations.
3) vendor can change cgroup setting and get_sched_policy may return
incorrect information for get_sched_policy_profile_name.
Test: Boot
Bug: 210011562
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8e8c8b346984781c56ec93c0616121f7d5c99fe5
|
|
Change-Id: If5690578cd0c72b569f652ef97478356ba519bd1
|
|
Change-Id: I8cefa793a12ac9b9c86e126b85a4b748df2d57bf
|
|
When the scratch space is mmap'ed, the metadata buffer
will be un-aligned. This may lead to alignment fault
on 32-bit systems. Address this by temporarily copying
it to buffer.
No perf impact as this code path is not in I/O path
and the copy is a for the size of metadata buffer which
is 8k.
Bug: 206426215
Test: Full and Incremental OTA on pixel
1: Compile snapuserd as 32 bit and reproduced the bug on pixel.
2: With fix - OTA applied successfully.
3: Reboot the device when merge was in-flight as the fix is primarily
in that path.
4: Verify merge completion and data integrity post merge.
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: Icd4a21d6a61f1ab36e65994c06a4d049a2ee741c
Merged-In: I63c0d862057ebf138c9d1696a942030e30598739
|
|
Change-Id: I8fedb04daf06c10ac39e3192f22e4d5a4c50a195
|
|
This change only *adds* /system_ext/etc/selinux to the debug policy
search path, and does not change any preconditions to load the debug
policy. The device still needs to be bootloader-unlocked and has the
debug ramdisk flashed to be able to use the debug policy. The only thing
changed is that now the debug policy can be loaded from /system_ext or
/debug_ramdisk when system partition is compliance testing GSI.
The debug policy in the boot ramdisk may be outdated if the system
partition is flashed with a image built from a different revision.
This happens frequently when running the compliance testing VTS, where
the device is flashed with (A) GSI and (B) device vendor image & debug
boot image, and (A) and (B) are built from different git revisions.
To address this, we install a copy of the debug policy under
/system_ext, so that the version desync between (A) & (B) wouldn't be a
problem anymore because (A) no longer relies on the debug policy file
from (B).
Bug: 188067818
Test: Flash RQ2A.201207.001 bramble-user with debug ramdisk & flash
gsi_arm64-user from master, device can boot and `adb root` works
Change-Id: I4d6235c73472e4d97619b2230292e6a0bc4b3e05
Merged-In: I4d6235c73472e4d97619b2230292e6a0bc4b3e05
(cherry picked from commit 650b29d2349253a0dd6000564ccb2c19b51352db)
|
|
Change-Id: I76d185d9d58c4b6eca50248b29264c429a1024e3
|
|
While llkd helps in discovering issues in apps which leave zombies, it
creates issues for dogfooders when apps are killed. Disable it by
default.
Bug: 202411543
Test: boot and check llkd not running
Test: `setprop ro.llk.enable true` enables llkd
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: If93bf9e981eaa3921a9da5f3160db26c4fe17e66
Merged-In: If93bf9e981eaa3921a9da5f3160db26c4fe17e66
|
|
sc-platform-release
Change-Id: I38caae22077efe8585b55c99deb51d9b8f7c15c4
|
|
sc-qpr1-release am: 773bc40b52
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/16021160
Change-Id: I31a210f7c74faf6ae1cbdcaad8ae5e22e74faabf
|
|
sc-qpr1-release am: 268c37f496
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15998365
Change-Id: If95aaffd1301a31930a3be494c6090d68864b38a
|
|
sc-qpr1-release am: 5835267b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15987086
Change-Id: I9973cb1e2292b1e0cd00924adebff90448ff55c6
|
|
sc-qpr1-release am: f9b2c5d153
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15914949
Change-Id: If71b810e841dd72c14840105542202b118d0476b
|
|
sc-qpr1-release am: 7d961bfc25
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15858177
Change-Id: Ia64acf6f53512b5e9db05ecaa8ed5c3ad932fafc
|
|
sc-qpr1-release am: 82b6ad43e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15849397
Change-Id: I0ee4000b3894c8317f886571b14015e2b6fd3546
|
|
sc-qpr1-release am: f1e4ef9969
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15700211
Change-Id: Ie356e7c52c761ce887bf9910f367d74437362932
|
|
sc-qpr1-release am: 7ae4d30134
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15617897
Change-Id: Iadcb097c980fba596980c1a1cace18ad0990dbcd
|
|
sc-qpr1-release am: 1e50a0a5a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15604457
Change-Id: I552d7eff2db997dd073659b288191742b251d0c5
|
|
sc-qpr1-release am: 60a536890c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15589447
Change-Id: Iade8dd5b2f8b20edadea57938964b59b0ca7e810
|
|
sc-qpr1-release am: cfb706e8d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15579874
Change-Id: I186683b43886a9f738092719fb5caca4ce7f744a
|
|
sc-qpr1-release am: 69a128076d
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15569180
Change-Id: I421df67b5720ce298cee17894d67a9dff809a9d5
|
|
sc-qpr1-release am: a9646ce6c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15550274
Change-Id: I2392c7645d4fddb1704804e44bff9df9a5e7b19a
|
|
sc-qpr1-release am: 0e1bb8973c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15537153
Change-Id: I33ba0007516bb74a24915fe1f2b02c40b64c033b
|
|
sc-qpr1-release am: 5c7b384da8
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15524526
Change-Id: I1877a9543d111861aff347623f5828fc47a6b8b7
|
|
s-keystone-qcom-release
Change-Id: I372622108e34198fc69f85e3c7de5ca3d7afb8bc
|
|
Change-Id: Ibc30f9d779725280e4906f7a494562b1dc9bcfaf
|
|
Change-Id: I774cbc37315c831d9555e09a2c60626e079934a1
|
|
Change-Id: I7d8b1e5d03f1f79c4cb841102eb39ef65ac6ed33
|
|
Change-Id: I6439280a3eade355255d5b3f1b7b889135df317c
|
|
|
|
Create a new group for dex2oat in cpu cgroup, which is dedicated for
dex2oat processes. Also modify task profiles for this change.
Bug: 201223712
Test: dex2oat group created
Change-Id: Ic61f4b8a64d01c03549b680970805e12b9ce4fcc
Merged-In: Ic61f4b8a64d01c03549b680970805e12b9ce4fcc
|