8eeb263bdb92e213ed8ba34be60eb4a52c21ad51
kernel & KernelSU: More Optimization on SUS_MOUNT and AUTO_ADD_TRY_UMOUNT_FOR_BIND_MOUNT; Dropped HAS_MAGIC_MOUNT feature in Kconfig - In order to stop more performance loss, the changes here is not to monitor any ksu mounts anymore during/after boot-completed stage, since monitoring the free of mnt_id and reordering the mnt_id takes some CPU cycles already. - HAS_MAGIC_MOUNT is not needed anymore and catching magic mounts can be simplifed by checking whether 1. It is bind mount 2. Its mnt_devname is "KSU" 3. It is a directory 4. mounted path begins with "/debug_ramdisk/workdir/" - Some sus bind mounts still cannot be catched with these changes, like revanced youtube module, since it bind mounts after the user data is decrypted, at this point user may need to manually add the mounted path to try_umount. Co-authored-by: simonpunk <simonpunk2016@gmail.com>
Description
Languages
Kotlin
67.1%
C
20%
Rust
11.1%
Shell
0.9%
Makefile
0.4%
Other
0.4%