Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
/ lucjan-kernels Public archive

HP 850 G3 with Sixth Gen Intel Core i3/i5/i7 optimized.

Notifications You must be signed in to change notification settings

sirlucjan/lucjan-kernels

Repository files navigation

My own kernels. Use at your own risk.

HP 850 G3 with Sixth Gen Intel Core i3/i5/i7 optimized.
linux-lucjan varies considerably from stock kernel.

As of July 19, 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.

linux-lucjan incorporates:

Some patches for BFQ/block-stable conflict with patches for BFQ-dev/block-mainline.
To use lucjan-kernels smoothly apply ll-reverts before linux-lucjan patch. Otherwise the kernel will not compile.

Download:

git clone https://github.com/sirlucjan/lucjan-kernels.git

or

git clone https://gitlab.com/sirlucjan/lucjan-kernels.git

Install:

Testing

cd /some_path/lucjan-kernels/lucjan-kernels-testing/package_name
makepkg -srci

Unstable

cd /some_path/lucjan-kernels/lucjan-kernels-unstable/package_name
makepkg -srci

Rolling

cd /some_path/lucjan-kernels/lucjan-kernels-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)


You've been warned.