Create 0228-Enable-partition-alloc-with-advanced-checks.patch#941
Create 0228-Enable-partition-alloc-with-advanced-checks.patch#941coldmartian wants to merge 1 commit intoGrapheneOS:mainfrom
Conversation
|
Some of this likely doesn't make sense when MTE is available and being used. |
|
It's a good defense-in-depth measure and also useful for pixels that do not support MTE. And If I'm not mistaken, MTE only applies to main memory and not GPU memory, so this would be useful when WebGL Is enabled. |
|
PartitionAlloc only manages memory where it can use MTE. What I mean is that the advanced checks don't really take MTE into account and do things differently than they should when MTE is available. |
|
Oh. If that's the case, would it be reasonable to enable this only for Pixel devices not supporting MTE? |
|
We probably need to figure out enabling a subset of the checks everywhere and a subset without MTE, not sure. We could enable it all everywhere and accept the cost of useless checks though. |
|
The performance drop Is negligible so we could enable it everywhere. |
Enables partition alloc with advanced checks on all processes.