Kernel configuration and build notes for HUT OS.
This repository does not contain the Linux kernel source. HUT OS builds against upstream Linux.
hutos_defconfig— kernel configuration used by HUT OSREADME.md— build instructions
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git checkout v7.3-rc5 # or a tested newer tag
curl -fsSL \
https://raw.githubusercontent.com/hut-os/linux-config/main/hutos_defconfig \
-o .config
make olddefconfig
make -j"$(nproc)" bzImagePlace arch/x86/boot/bzImage where the hut-os build expects it:
hut-os/kernel/arch/x86/boot/bzImage
CONFIG_LOCALVERSION="-HUTOS-Hamedan-University-of-Technology"
Configuration files follow Linux kernel licensing (GPL-2.0).
Patch: patches/0001-sched-add-HUTOS-run-queue-wait-latency-monitor.patch
cd linux # v7.3-rc5 tree
git am /path/to/linux-config/patches/0001-sched-add-HUTOS-run-queue-wait-latency-monitor.patch
cp /path/to/linux-config/hutos_defconfig .config
make olddefconfig
make -j"$(nproc)" bzImageEnable at runtime:
sysctl kernel.hutos_sched_lat=1
cat /proc/hutos_sched
Or boot with hutos_sched_lat=1.