/kernel-git

Kernels (v 5.x) and modules from Kernel.org git repositories

Primary LanguageShell

As of August 8, 2022, the project will cease to be developed. Thank you to all users for their willingness to use the project and bug reports.

I encourage all users to use CachyOS kernels, in the development of which I will take an active part from now on.

Kernels and modules:

  • linux-aufs-git from "Linux kernel stable tree"

  • linux-aufs-git from "Linux Stable -rc releases"

  • linux-bfq-dev-git from "Linux kernel stable tree"

  • linux-bfq-dev-git from "Linux Stable -rc releases"

Packaging status

  • linux-uksmd-git from "Linux kernel stable tree"

  • linux-uksmd-git from "Linux Stable -rc releases"

Packaging status

linux-aufs-git incorporates:
linux-bfq-dev-git incorporates:

latest packaged version(s)

Some patches for BFQ conflict with patches for BFQ-dev.
To use linux-bfq-dev-git smoothly apply bfq-reverts before bfq-dev patch. Otherwise the kernel will not compile.
linux-uksmd-git incorporates:

latest packaged version(s)


Download:

git clone https://github.com/sirlucjan/kernel-git.git

or

git clone https://gitlab.com/sirlucjan/kernel-git.git

Install:

Stable

cd /some_path/kernel-git/stable/package_name
makepkg -srci

Stable-RC

cd /some_path/kernel-git/stable-rc/package_name
makepkg -srci

Rolling

cd /some_path/kernel-git/rolling/package_name
makepkg -srci

Enable bfq

For now, you can use sudo tee /sys/block/sda/queue/scheduler <<< bfq to enable "bfq".

You can also add this to file 60-schedulers.rules:

# Non-rotational disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
# Rotational disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"

and run a command sudo udevadm control --reload && sudo udevadm trigger

For now, bfq is enabled by default! (since 5.0-lucjan-ll1-rc1.patch and LL-elevator-set-default-scheduler-to-bfq-for-blk-mq.patch)