Moto g9 play has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/994
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Moto g9 play has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/968
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
Moto g9 power has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/970
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/907
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/894
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Redmi Note 12 Pro / Pro+ For MIUI 14 has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/847
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/849
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
This pull request includes a modified LineageOS kernel with the
implementation of KernelSU for POCO F3/Redmi K40/Mi 11X (alioth), adding
them to the list of unofficially supported devices.
Some changes to repos.json:
- Redirect android_kernel_xiaomi_surya to kernel_xiaomi_surya: Because
the original warehouse has changed android_kernel_xiaomi_surya to
kernel_xiaomi_surya, this time the original address is 404
- Removed kernel repository information maintained by AkariOficial #754
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/644
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Hi @tiann.
Thanks for the great project, I had great fun playing around with it.
This PR mainly tries to further minimize the possible delays caused by
KernelSU hooking.
There are 3 major changes:
- Processes with 0 < UID < 2000 are blocked straight-up before going
through the allow_list.
I don't see any need for such processes to be interested in root, and
this allows returning early before going through a more expensive
lookup.
If there's an expected breakage due to this change, I'll remove it. Let
me know.
- A page-sized (4K) bitmap is added.
This allows O(1) lookup for UID <= 32767.
This speeds up `ksu_is_allow_uid()` by about 4.8x by sacrificing a 4K
memory. IMHO, a good trade-off.
Most notably, this reduces the 99.999% result previously from worrying
milliseconds scale to microseconds scale.
For UID > 32767, another page-sized (4K) sequential array is used to
cache allow_list.
Compared to the previous PR #557, this new approach gives another nice
25% performance boost in average, 63-96% boost in worst cases.
Benchmark results are available at
https://docs.google.com/spreadsheets/d/1w_tO1zRLPNMFRer49pL1TQfL6ndEhilRrDU1XFIcWXY/edit?usp=sharing
Thanks!
---------
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
RealKing kernel has included kernelsu officially, so I don't need to
keep maintaining this fork. With the consent of the author of the
RealKing kernel, the maintainer information here is updated to his.
Kernel 4.14.194 exynos9610 Non-GKI Device, Added KernelSu using manual
method has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/573
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>