Skip to content

Add CI workflow for ChromeOS ARCVM#641

Merged
tiann merged 13 commits intotiann:mainfrom
supechicken:main
Jun 16, 2023
Merged

Add CI workflow for ChromeOS ARCVM#641
tiann merged 13 commits intotiann:mainfrom
supechicken:main

Conversation

@supechicken
Copy link
Contributor

All changes are tested on my fork (the Telegram error was fixed in 9b16150): https://github.com/supechicken/KernelSU/actions/runs/5287864543

@supechicken
Copy link
Contributor Author

supechicken commented Jun 16, 2023

奇怪,這CI編譯出來的kernel不僅胖了一圈,怎麼還自己關機了...

2023-06-16T09:14:29.104610Z INFO vm_concierge[4008]: Invoking VM: /usr/bin/crosvm run --cpus 8 --mem 6748 --balloon-bias-mib 48 --net tap-fd=26 --net tap-fd=27 --net tap-fd=28 --net tap-fd=29 --net tap-fd=30 --net tap-fd=31 --cid 32 --socket /run/vm/vm.JMoac1/arcvm.sock --wayland-sock /run/chrome/wayland-0 --wayland-sock /run/arcvm/mojo/mojo-proxy.sock,name=mojo --syslog-tag ARCVM(32) --no-smt --delay-rt --per-vm-core-scheduling --params root=/dev/vda init=/init androidboot.hardware=bertha androidboot.container=1 androidboot.host_is_in_vm=0 androidboot.dev_mode=1 androidboot.disable_runas=0 androidboot.chromeos_channel=stable androidboot.seneschal_server_port=16384 androidboot.iioservice_present=1 androidboot.arc_custom_tabs=0 androidboot.arc_file_picker=1 androidboot.enable_notifications_refresh=1 androidboot.lcd_density=160 androidboot.arc.primary_display_rotation=ORIENTATION_0 androidboot.enable_consumer_auto_update_toggle=1 androidboot.update_o4c_list_via_a2c2=1 softlockup_panic=0 androidboot.enable_consumer_auto_update_toggle=1 androidboot.enable_privacy_hub_for_chrome=0 androidboot.keyboard_shortcut_helper_integration=0 androidboot.arcvm_virtio_blk_data=0 androidboot.zram_size=0 androidboot.arc_switch_to_keymint=0 androidboot.arcvm_metrics_mem_psi_period=10 androidboot.arcvm_ureadahead_mode=readahead androidboot.native_bridge=libhoudini.so androidboot.arc.tts.caching=1 androidboot.arc_dalvik_memory_profile=8G androidboot.lmkd.vsock_timeout=100 androidboot.audio.aaudio_mmap_enabled=1 androidboot.camera.async_process_capture_request=true ramoops.record_size=262144 ramoops.console_size=262144 ramoops.ftrace_size=4096 ramoops.pmsg_size=4096 ramoops.dump_oops=1 squashfs.cached_blks=20 --virtio-snd capture=true,backend=cras,client_type=arcvm,socket_type=unified,num_input_devices=3,num_output_devices=4,output_device_config=[[],[],[],[stream_type=pro_audio]],input_device_config=[[],[],[stream_type=pro_audio]] --disk /proc/self/fd/21,o_direct=false,block_size=4096 --disk /proc/self/fd/22,block_size=4096 --disk /proc/self/fd/20 --disk /proc/self/fd/23 --disk /proc/self/fd/24 --gpu vulkan=true --gpu-render-server path=/usr/libexec/virgl_render_server --video-decoder libvda --video-encoder libvda --battery type=goldfish --shared-dir /run/arcvm/android-data:_data:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true:privileged_quota_uids=0 --shared-dir /run/arcvm/android-data:_data_media:type=fs:cache=auto:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=1:rewrite-security-xattrs=true:ascii_casefold=true:writeback=false:posix_acl=true:privileged_quota_uids=0 --shared-dir /run/arcvm/media:stub:type=fs:cache=auto:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=1:rewrite-security-xattrs=true:ascii_casefold=true:writeback=false:posix_acl=false:privileged_quota_uids=0 --shared-dir /run/arcvm/host_generated/oem/etc:oem_etc:type=fs:cache=always:uidmap=0 299 1, 5000 600 50:gidmap=0 299 1, 5000 600 50:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=false --shared-dir /run/arcvm/testharness:testharness:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /run/arcvm/apkcache:apkcache:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /usr/share/fonts:fonts:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /lib64:lib:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /usr/lib64:usr_lib:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /sbin:sbin:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /usr/bin:usr_bin:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --shared-dir /run/arcvm/jemalloc:jemalloc:type=fs:cache=always:uidmap=0 655360 5000,5000 600 50,5050 660410 1994950:gidmap=0 655360 1065,1065 20119 1,1066 656426 3934,5000 600 50,5050 660410 1994950:timeout=3600:rewrite-security-xattrs=true:ascii_casefold=false:writeback=true:posix_acl=true --vcpu-cgroup-path /sys/fs/cgroup/cpu/arcvm-vcpus --pstore path=/run/daemon-store/crosvm/2a1dece44bc810cbf25280c4ff1bf606cd622f40/YXJjdm0=.pstore,size=1048576 --android-fstab /run/arcvm/host_generated/fstab --hugepages /opt/google/vms/android/vmlinux 
2023-06-16T09:14:29.201001Z WARNING crosvm[4486]:  [src/main.rs:667] `crosvm run --syslog-tag` is deprecated; please use `crosvm --syslog-tag="ARCVM(32)" run` instead
2023-06-16T09:14:29.245619Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix.rs:1592] crosvm entering multiprocess mode
2023-06-16T09:14:29.266382Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix/device_helpers.rs:220] Trying to attach block device: /proc/self/fd/21
2023-06-16T09:14:29.270025Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:218] disk size 633499648, 
2023-06-16T09:14:29.270130Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:207] Disk image file is hosted on file system type ef53
2023-06-16T09:14:29.270770Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix/device_helpers.rs:220] Trying to attach block device: /proc/self/fd/22
2023-06-16T09:14:29.270834Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:218] disk size 139378688, 
2023-06-16T09:14:29.270876Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:207] Disk image file is hosted on file system type ef53
2023-06-16T09:14:29.270938Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix/device_helpers.rs:220] Trying to attach block device: /proc/self/fd/20
2023-06-16T09:14:29.271000Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:218] disk size 0, 
2023-06-16T09:14:29.271040Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:207] Disk image file is hosted on file system type 1021994
2023-06-16T09:14:29.271091Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix/device_helpers.rs:220] Trying to attach block device: /proc/self/fd/23
2023-06-16T09:14:29.271135Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:218] disk size 0, 
2023-06-16T09:14:29.271174Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:207] Disk image file is hosted on file system type 1021994
2023-06-16T09:14:29.271224Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix/device_helpers.rs:220] Trying to attach block device: /proc/self/fd/24
2023-06-16T09:14:29.271264Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:218] disk size 0, 
2023-06-16T09:14:29.271305Z INFO ARCVM(32)[4486]:  [disk/src/disk.rs:207] Disk image file is hosted on file system type 1021994
2023-06-16T09:14:29.417751Z INFO ARCVM(32)[4486]:  [devices/src/sys/unix/acpi.rs:26] Listening on acpi_mc_group of acpi_event family
2023-06-16T09:14:31.104536Z INFO ARCVM(32)[4486]:  [src/crosvm/sys/unix.rs:2926] vcpu requested reset
2023-06-16T09:14:31.262531Z INFO ARCVM(32)[4486]:  [src/main.rs:791] exiting with success

看來還要研究一下

@supechicken supechicken marked this pull request as draft June 16, 2023 09:25
@supechicken
Copy link
Contributor Author

supechicken commented Jun 16, 2023

哦,看來是DEFCONFIG被gki config複寫了, DEFCONFIG=x86_64_arcvm_defconfig要調一下位置

@supechicken
Copy link
Contributor Author

supechicken commented Jun 16, 2023

搞定了,就是這CI有點慢:
https://github.com/supechicken/KernelSU/actions/runs/5288557627


Kernel version: 5.10.178-android12-9-g31e1367ff78e-dirty
Tested on ChromeOS v114:

CHROMEOS_ARC_ANDROID_SDK_VERSION=30
CHROMEOS_ARC_VERSION=10228649
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={95EE134E-B47F-43FB-9835-32C276865F9A}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={95EE134E-B47F-43FB-9835-32C276865F9A}
CHROMEOS_RELEASE_BOARD=hatch-signed-mp-v7keys
CHROMEOS_RELEASE_BRANCH_NUMBER=42
CHROMEOS_RELEASE_BUILDER_PATH=hatch-release/R114-15437.42.0
CHROMEOS_RELEASE_BUILD_NUMBER=15437
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=114
CHROMEOS_RELEASE_DESCRIPTION=15437.42.0 (Official Build) stable-channel hatch 
CHROMEOS_RELEASE_KEYSET=mp-v7
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=stable-channel
CHROMEOS_RELEASE_UNIBUILD=1
CHROMEOS_RELEASE_VERSION=15437.42.0
DEVICETYPE=CHROMEBOOK
GOOGLE_RELEASE=15437.42.0

@supechicken supechicken marked this pull request as ready for review June 16, 2023 10:34
@natsumerinchan
Copy link
Contributor

https://github.com/tiann/KernelSU/blob/main/.github/workflows/gki-kernel.yml#L112

加上这个可以去掉dirty后缀

@supechicken
Copy link
Contributor Author

https://github.com/tiann/KernelSU/blob/main/.github/workflows/gki-kernel.yml#L112

加上这个可以去掉dirty后缀

感謝提醒!

@tiann tiann merged commit 168f412 into tiann:main Jun 16, 2023
ImSpiDy added a commit to ImSpiDy/KernelSU that referenced this pull request Jun 26, 2023
commit cd5bc2e
Author: Zillion <77107077+DevZillion@users.noreply.github.com>
Date:   Mon Jun 26 04:45:24 2023 +0200

    Add Spanish Translation (tiann#689)

commit 477361f
Author: Pegioner <87282574+Pegioner@users.noreply.github.com>
Date:   Sat Jun 24 15:17:51 2023 +0300

    Update Russian translation (tiann#681)

commit d3632e4
Author: Gustavo Mendes <gusttavo.me@outlook.com>
Date:   Sat Jun 24 09:17:15 2023 -0300

    Update Portuguese brazilian translation (tiann#682)

    Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com>

commit 0c2f901
Author: SoDebug <30922923+SoDebug@users.noreply.github.com>
Date:   Sat Jun 24 20:16:25 2023 +0800

    repos.json: Update the link of the KernelSU kernel release repo of the device I maintain (tiann#686)

    Update the link of the KernelSU kernel release repo of the device I
    maintain

commit 09d90e1
Author: Howard Wu <HowardWu20@outlook.com>
Date:   Fri Jun 23 17:48:18 2023 +0800

    ci: update gki version (tiann#679)

    Fix the version name of android13-5.15.74
    Add android12-5.10.117

commit 4fe167c
Author: Trịnh Văn Lợi <72311759+trinhloivn@users.noreply.github.com>
Date:   Fri Jun 23 16:30:04 2023 +0700

    Update Vietnamese strings (tiann#678)

commit 58ffaeb
Author: raystef66 <s.vanbarel@gmail.com>
Date:   Fri Jun 23 03:31:58 2023 +0200

    Update Flemish/Dutch translation (tiann#677)

commit 76499ee
Author: Ali Beyaz <symbuzzer@users.noreply.github.com>
Date:   Fri Jun 23 04:31:23 2023 +0300

    Translated latest strings to Turkish (tiann#676)

commit fedfa3e
Author: weishu <twsxtd@gmail.com>
Date:   Fri Jun 23 00:35:25 2023 +0800

    manager: update card color

commit 2902e42
Author: Igor Sorocean <sorocean.igor@gmail.com>
Date:   Thu Jun 22 19:32:26 2023 +0300

    manager: update ro translation (tiann#674)

commit 37f4045
Author: weishu <twsxtd@gmail.com>
Date:   Fri Jun 23 00:31:36 2023 +0800

    manager: add a simple manager updater, close tiann#627

commit 12761ee
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 23:24:35 2023 +0800

    manager: don't remember state when process died.

commit 0d25423
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 23:20:13 2023 +0800

    manager: fix module install

commit f5bb246
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 19:46:26 2023 +0800

    manager: fix download state

commit 303a3a8
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 19:29:37 2023 +0800

    manager: fix update button

commit 07273b6
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 18:40:28 2023 +0800

    manager: support module update online

commit c7c9e9c
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 17:00:02 2023 +0800

    ksud: respect the skip_mount flag of module

commit c3c990c
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 16:48:13 2023 +0800

    ksud: increase reserved size to 256M

commit 6942fe1
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 16:46:29 2023 +0800

    manager: set keyboard options for inputtext

commit f5cfb32
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 15:17:32 2023 +0800

    kernel: fix incorrect umount for apps

commit e17f3ea
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 14:37:17 2023 +0800

    Revert "kernel: use vfs_fstatat on kernel 5.10+, vfs_statx may have cfi."

    This reverts commit cd3e292.

commit 08884da
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 13:42:28 2023 +0800

    kernel: don't alloc groups for default groups

commit 5f1d70d
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 12:54:30 2023 +0800

    Revert "kernel: getname might sleep in kprobe handler  (tiann#670)"

    This reverts commit 79bb981.

commit 79bb981
Author: weishu <twsxtd@gmail.com>
Date:   Thu Jun 22 10:54:50 2023 +0800

    kernel: getname might sleep in kprobe handler  (tiann#670)

commit 1cda4ba
Author: Ali Beyaz <symbuzzer@users.noreply.github.com>
Date:   Tue Jun 20 13:45:24 2023 +0300

    Update latest strings to Turkish (tiann#662)

commit 1cc678d
Author: raystef66 <s.vanbarel@gmail.com>
Date:   Tue Jun 20 12:44:04 2023 +0200

    Update Flemish/Dutch translation (tiann#665)

commit cd3e292
Author: weishu <twsxtd@gmail.com>
Date:   Tue Jun 20 18:42:22 2023 +0800

    kernel: use vfs_fstatat on kernel 5.10+, vfs_statx may have cfi.

commit 40ea27a
Author: Howard Wu <HowardWu20@outlook.com>
Date:   Tue Jun 20 18:10:07 2023 +0800

    ci: Fix kernel version (tiann#666)

commit e95ca93
Author: Azeroth <telifesite@gmail.com>
Date:   Tue Jun 20 13:28:05 2023 +0330

    Fix typo (tiann#667)

    Fixed typo in this section
    https://kernelsu.org/guide/installation.html#patch-boot-img-manully

commit 9b2f907
Author: Ikko Eltociear Ashimine <eltociear@gmail.com>
Date:   Tue Jun 20 12:03:09 2023 +0900

    kernel: fix typo in allowlist.c (tiann#663)

    creat -> create

commit 90299ad
Author: Coconut <85353552+Coconutat@users.noreply.github.com>
Date:   Tue Jun 20 10:35:07 2023 +0800

    kernel:Fix the issue of incompatible __maybe_unused in the GCC compiler kernel used in versions 4.4. x to 4.9. x. (tiann#660)

commit 22d084f
Author: weishu <twsxtd@gmail.com>
Date:   Mon Jun 19 22:16:46 2023 +0800

    manager: Add selinux rules UI

commit 99770a7
Author: Muhammad Fadlyas <mhmmdfdlyas@gmail.com>
Date:   Mon Jun 19 19:07:47 2023 +0700

    Update Indonesian translation (tiann#659)

commit bbc7ebe
Author: weishu <twsxtd@gmail.com>
Date:   Mon Jun 19 17:57:15 2023 +0800

    kernel: Enforcement of Manager Signature Verification

commit d131b75
Author: exer <98556122+ekkusa@users.noreply.github.com>
Date:   Sun Jun 18 17:06:41 2023 +0800

    [add device]: Sony Tama (XZ2/c/p, XZ3) (tiann#656)

commit ff8c614
Author: weishu <twsxtd@gmail.com>
Date:   Sun Jun 18 13:00:24 2023 +0800

    kernel: allow uid 1000(system_uid) to grant root. close tiann#645

commit c12ad9d
Author: weishu <twsxtd@gmail.com>
Date:   Sun Jun 18 12:51:27 2023 +0800

    kernel: fix compile err. close tiann#647

commit 1703c16
Author: weishu <twsxtd@gmail.com>
Date:   Sun Jun 18 12:47:29 2023 +0800

    ci: support deprecated kernel versions (tiann#648)

commit a48d7b1
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jun 17 23:11:41 2023 +0800

    [add device]: (tiann#650)

    has been added to the website.
    Related issue: tiann#644

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

commit f2d5e57
Author: Ylarod <me@ylarod.cn>
Date:   Sat Jun 17 22:07:39 2023 +0800

    fix add-device (tiann#649)

commit 4111bbf
Author: Gustavo Mendes <gusttavo.me@outlook.com>
Date:   Sat Jun 17 10:14:36 2023 -0300

    Update Portuguese brazilian translation (tiann#643)

    Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com>

commit cd32ad8
Author: Ali Beyaz <symbuzzer@users.noreply.github.com>
Date:   Sat Jun 17 16:14:09 2023 +0300

    Fixed some Turkish strings again (tiann#646)

commit fefb826
Author: Rem01Gaming <wisnugunawan2008@gmail.com>
Date:   Fri Jun 16 19:50:31 2023 +0700

    Update Indonesian translation (tiann#634)

commit e27fc04
Author: Ali Beyaz <symbuzzer@users.noreply.github.com>
Date:   Fri Jun 16 15:50:13 2023 +0300

    Fixed some Turkish strings (tiann#640)

commit 168f412
Author: SupeChicken666 <supechicken666@gmail.com>
Date:   Fri Jun 16 20:49:51 2023 +0800

    Add CI workflow for ChromeOS ARCVM (tiann#641)

    All changes are tested on my fork (the Telegram error was fixed in
    9b16150):
    https://github.com/supechicken/KernelSU/actions/runs/5287864543

    ---------

    Co-authored-by: weishu <twsxtd@gmail.com>

commit bd8434f
Author: Juhyung Park <qkrwngud825@gmail.com>
Date:   Fri Jun 16 20:53:15 2023 +0900

    Hook improvements (take 2) (tiann#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 tiann#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>

commit c697398
Author: weishu <twsxtd@gmail.com>
Date:   Fri Jun 16 19:32:48 2023 +0800

    kernel: fix warning on x86_64, close tiann#637
itswill00 pushed a commit to itswill00/KernelSU-Next-4.14 that referenced this pull request Jan 19, 2025
All changes are tested on my fork (the Telegram error was fixed in
9b16150):
https://github.com/supechicken/KernelSU/actions/runs/5287864543

---------

Co-authored-by: weishu <twsxtd@gmail.com>
chenzhu005774 pushed a commit to chenzhu005774/KernelSU that referenced this pull request Sep 12, 2025
All changes are tested on my fork (the Telegram error was fixed in
9b16150):
https://github.com/supechicken/KernelSU/actions/runs/5287864543

---------

Co-authored-by: weishu <twsxtd@gmail.com>
LeCmnGend pushed a commit to LeCmnGend/KernelSU that referenced this pull request Sep 23, 2025
* docs: Update Polish README

- Added missing language - Spanish
- Added Crowdin credits translation

* docs: add crowdin localization progress

- sync with commit afe6ad7

* docs: Update Polish README - features title

- Improve stylistics

* Update README_PL.md

- Sync with c44f48c

* Update README_PL.md

- Sync with 107cd4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants