19 Commits

Author SHA1 Message Date
Arthur
601ce2120a
website: optimize expression and complete Chinese translation (#1278)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-09 09:17:25 +08:00
Arthur
23ffc2a3b2
website: fix typo (#1276) 2024-01-08 14:42:41 +08:00
weishu
fbeea49318
website: remove coolapk download link 2023-12-28 21:08:57 +08:00
Aquarius223
b45c4f57c5
website: Optimize the non-GKI page format and repair errors (#1141)
1. Divide the patches into a separate file segment
2. Fix the ISO C90 grammar warning in fs/open.c

Conflict: JA_JP Folder does not do how-to-integrate-for-non-gki.md
Change-Id: I23a611eb937d9cb3da7a2d97046e0b57f1efc4d6

Co-authored-by: admin <paper@localhost>
2023-11-14 11:06:44 +08:00
Brian
a903b0fa4e
docs: Rename mentions of ZygiskOnKernelSU to ZygiskNext (#1114) 2023-11-06 10:26:58 +08:00
Nguyễn Viết Thắng
71c14d96ab
Language Update (#924)
Update Vietnamese language for kernelsu.org and README_VI.md
2023-09-01 14:23:45 +08:00
Juhyung Park
bd8434f4f4
Hook improvements (take 2) (#563)
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>
2023-06-16 19:53:15 +08:00
aiamadeus
c969ff4011
website: fix web link address of taichi (#391)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2023-04-15 15:32:07 +08:00
セリカ・シルフィル
2f67d24ec9
kernel: Support switch branch or tag (#382) 2023-04-13 14:40:56 +08:00
Huy Minh
216c2aa2cd
website: vi_VN: Update FAQs (#191) 2023-02-03 14:03:05 +08:00
Ylarod
40960f60f8
ci: handle add device automatically (#157) 2023-01-30 19:41:46 +08:00
tiann
0e4b5b3765
website: fix device list link broken 2023-01-29 16:12:22 +08:00
tiann
0e651fdc99
website: opti device list 2023-01-29 12:59:37 +08:00
Huy Minh
599723515e
docs: vi_VN: Translate some strings (#134)
Signed-off-by: Huy Minh <buingoc67@gmail.com>
2023-01-28 23:11:40 +08:00
Huy Minh
e1e8d53da5
docs: Adding Android-x86 kernel supported by me (#133)
Chinese translated using Google Translate
2023-01-28 22:36:44 +08:00
Huy Minh
20a2c0092e
docs: vi_VN: translate unofficially supported devices (#131) 2023-01-28 22:15:18 +08:00
Huy Minh
57806df17e
website : vi_VN : Update non-GKI integration translate (#116) 2023-01-25 20:45:35 +08:00
セリカ・シルフィル
87d05fbbdc
website:Remind readers how to resolve dependencies for KPROBES (#106)
website:Remind readers how to resolve  dependencies for KPROBES

Power by DeepL and Google Translate
2023-01-24 15:10:44 +08:00
Huy Minh
ec0158e2e8
website: add vi_VN translation (#91)
Signed-off-by: hmtheboy154 <buingoc67@gmail.com>

Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
2023-01-21 06:37:36 +08:00