openMosix, the patch we build on, and why a revival is hard.
Single-System-Image (SSI) clustering for Linux: transparent, preemptive process migration + a load-balancing algorithm, so a cluster of machines looks like one big SMP box. Forked from MOSIX by Moshe Bar in 2002; project officially closed March 1, 2008.
Two meaningful endpoints exist:
upstream/openMosix-2.4.26-1.patch (~1.05 MB, 38,794 lines, 253 files)hpc/ subsystem (migration, deputy/remote, load balancing, DFSA, MFS), plus deep hooks into kernel/, mm/, fs/, net/.julialongtin/LinuxPMI (branch master, last push 2023-04-06).2.6/kernel, 2.6/tools, 2.6/notes, 2.6/diagrams. This is the most recent openMosix-lineage source to study for a 2.6-era port, but it too is long abandoned and far from modern kernels.New trees added by the patch:
hpc/ — the engine: mig.c (migration), deputy.c/remote.c (home/guest split execution), balance.c/load.c/decay.c (load balancing), comm.c/service.c (node comms), dfsa.c/ucache.c (Direct FS Access), syscalls.c/remote.c (remote syscall forwarding).include/hpc/* and include/linux/{hpc,mfs,remote_fs_i,dfsa_interface}.hnet/.../mfs* — MFS (Mosix File System) cluster filesystem.Intrusive hooks live in: kernel/{fork,exit,signal,sched,ptrace,sys}.c, mm/{memory,mmap,mremap,filemap,vmscan}.c, fs/{exec,open,namei,proc/*}.c, arch/{i386,x86_64,ia64}/..., init/main.c.
The 2.4 → modern (6.x) jump crosses the biggest architectural changes in Linux history: O(1)/CFS/EEVDF schedulers, per-task namespaces & cgroups, folios/mm rewrite, RCU everywhere, VFS overhaul, new signal/ptrace, SMP preemption, 64-bit default, ASLR, etc. openMosix assumed a much simpler, more global kernel. A literal patch-forward is impossible; this is a re-architecture, not a rebase.
upstream/openMosix-2.4.26-1.bz2 (original download)upstream/openMosix-2.4.26-1.patch (decompressed)