Skip to content

About

HUT OS Linux kernel configuration and build instructions (targets upstream Linux)

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

HUT OS — Linux configuration

Kernel configuration and build notes for HUT OS.

This repository does not contain the Linux kernel source. HUT OS builds against upstream Linux.

Contents

  • hutos_defconfig — kernel configuration used by HUT OS
  • README.md — build instructions

Build

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)" bzImage

Place arch/x86/boot/bzImage where the hut-os build expects it:

hut-os/kernel/arch/x86/boot/bzImage

Branding

CONFIG_LOCALVERSION="-HUTOS-Hamedan-University-of-Technology"

License

Configuration files follow Linux kernel licensing (GPL-2.0).

HUTOS Scheduler enhancement

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)" bzImage

Enable at runtime:

sysctl kernel.hutos_sched_lat=1
cat /proc/hutos_sched

Or boot with hutos_sched_lat=1.

About

HUT OS Linux kernel configuration and build instructions (targets upstream Linux)

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors