Move your workload where you have available resources
A modern, out-of-tree revival of openMosix's transparent process distribution. Target kernel: Linux v7.3 (worktree in kernel-src/). GPLv2.
openMosix split a process into two halves:
The remote half forwarded every "home-affine" syscall back to the deputy. In 2004 that meant forwarding files too (via DFSA/MFS) because there was no shared FS. Our constraints collapse most of that work:
| openMosix 2004 | Voltron 2025 | Consequence |
|---|---|---|
| MFS/DFSA custom cluster FS | OCFS2 (already in kernel) | Shared-FS file I/O runs natively on the execution node — no forwarding |
| Custom TCP protocol | RDMA (rdma_cm/ib_verbs) | Low-latency syscall forwarding + page transfer |
| In-kernel syscall hijack | seccomp user-notif | Forward net syscalls from userspace with a stable API |
| In-kernel migration | CRIU + thin module | Freeze/restore via supported APIs, not deep hooks |
So the only thing that must stay on the home node is the network stack / open sockets. That is exactly your requirement, and it's a much smaller deputy than openMosix ever had.
| Resource | Location | Mechanism |
|---|---|---|
| CPU execution | execution node | CRIU restore / remote exec |
| Address space (memory) | execution node | page transfer over RDMA |
| Open sockets / network I/O | home node | seccomp-notif → forward to deputy over RDMA |
| Files on OCFS2 | execution node (native) | normal VFS, shared mount — no forwarding |
| Files NOT on shared FS (node-local, /proc, /dev) | home node | forward to deputy (fallback) |
| PID / signals / credentials | home node identity | deputy proxies |
voltrond — the kernel module (the "brain", openMosix info+balance reborn)/sys/kernel/voltron/** (per-cgroup, default-deny; see §4 for the sysfs-store + cgroup-live-patch decision): rules the admin can change at runtime — mode, target node, PSI metric/threshold, min residency, inheritance. (A cgroup controller can't be added out-of-tree, so the store is sysfs-keyed by cgroup id, not a controller.)voltron-agent — userspace daemon (the "hands")On the execution node the migrated task gets a seccomp filter that traps network + node-identity syscalls (socket, bind, listen, accept(4), connect, sendto, recvfrom, sendmsg, recvmsg, shutdown, getsockname, getpeername, setsockopt, getpid, ...). On trap:
SECCOMP_RET_USER_NOTIF wakes the remote agent.recvfrom), deputy sends the buffer back; remote agent writes it into the task's memory (process_vm_writev//proc/pid/mem) and returns the length via the notif response.Result: the connection never leaves the node that accepted it; the CPU work runs elsewhere.
Policy is keyed on cgroup v2 and the admin changes it at runtime. Two surfaces, one store:
voltrond). An out-of-tree module cannot register a cgroup controller (the subsystem table is built into the kernel), so per-cgroup policy cannot live inside /sys/fs/cgroup the normal way. Decision: keep the store in the module under **/sys/kernel/voltron/policy/cgroups/<cgroup-id>/ (keyed by the cgroup-v2 id, i.e. the cgroup directory inode), default deny**. voltron-ctld maps friendly cgroup paths ⇄ ids for the admin. The in-kernel resolver walks the cgroup ancestry (own entry, then nearest inherit=1 ancestor, then the cluster default); a kprobe on cgroup_destroy_locked reaps a cgroup's record when it goes away.voltron_cgroup_lp). To expose the policy in its natural place — **/sys/fs/cgroup/<cg>/voltron.policy — a separate, loadable live-patch-style kernel module** injects a cftype at runtime. Because the API that adds controller files (cgroup_add_dfl_cftypes) is not exported, it is resolved via a **kprobe → kallsyms_lookup_name** (klp proper is unsuitable: it rejects func-less patches and can't create files), then attached to an existing controller (default memory) with CFTYPE_NO_PREFIX for the clean name. Its read/write handlers call voltrond's exported voltron_policy_show() / voltron_policy_set_kv(), so the cgroup-fs file and the /sys/kernel/voltron/... tree are one unified store — writing either updates the same record. This module is optional and loaded on top of voltrond.Why split it out: the risky, non-exported, kprobe/live-patch plumbing is isolated in a module you can load/unload independently, keeping the core voltrond free of fragile internals while still offering the cgroup-native UX.
voltrond loads, sysfs tree, two nodes discover each other + exchange load over RDMA. No migration yet. Proves RDMA + policy I/O.voltrond drives migration by policy, openMosix-style, with migrate-back on load change.statfs/mount info at open time.auto (PSI-driven) and manual (pin cgroup→node). Both supported. See CLUSTER.md.voltron-ctld) to keep the kernel module small; the kernel trusts the node table it is fed. Control plane (join/auth/RDMA-param exchange) may use TCP/mTLS; data plane RDMA.CLUSTER.md.Note: an out-of-tree module cannot register a cgroup controller, so policy files live under/sys/kernel/voltron/or configfs, not inside the cgroup fs.voltron-ctldmaps friendly cgroup paths ⇄ cgroup ids for the admin. PSI is still read from the kernel's existing per-cgroup*.pressurefiles.
TCP appears only in the control plane (membership, mTLS auth, RDMA param exchange / rdma_cm bootstrap). All migration payload (pages + forwarded syscalls) is RDMA-only, in kernel.
| Plane | Carries | Tech |
|---|---|---|
| Control | join/leave, authz, RDMA params, FS checks | userspace, Corosync + mTLS/TCP |
| Data | memory pages, forwarded net syscalls | in-kernel RDMA (verbs), no TCP |
| Shared storage | migrated process file I/O | OCFS2 (native on exec node) |