Introduction
Linux is the open-source monolithic kernel created by Linus Torvalds in 1991. It sits at the core of every Linux distribution and Android device, and it runs on 100% of the top 500 supercomputers as well as the vast majority of cloud servers.
What Linux Does
- Manages CPU scheduling, memory allocation, and I/O for all running processes
- Provides hardware abstraction through thousands of built-in and loadable device drivers
- Implements a full networking stack including TCP/IP, WiFi, and Bluetooth
- Supports dozens of file systems such as ext4, Btrfs, XFS, and ZFS via module
- Enables containerization through namespaces and cgroups
Architecture Overview
Linux is a monolithic kernel with loadable module support. Core subsystems handle process scheduling (CFS), virtual memory management, and the VFS layer. Device drivers, file systems, and network protocols can be compiled into the kernel or loaded at runtime as modules. The kernel exposes a stable userspace ABI through system calls, procfs, and sysfs.
Self-Hosting & Configuration
- Clone from git.kernel.org or the GitHub mirror at torvalds/linux
- Configure build options with
make menuconfigormake defconfigfor defaults - Compile with
make -j$(nproc)and install withmake modules_install && make install - Distributions ship pre-built kernel packages with their own configuration and patch sets
- Tune runtime parameters via sysctl and
/proc/sys/entries
Key Features
- Runs on 30+ CPU architectures from ARM and RISC-V to x86_64 and s390x
- eBPF subsystem enables safe programmability inside the kernel for tracing and networking
- Real-time scheduling support via PREEMPT_RT patches now largely mainlined
- Namespaces and cgroups v2 power Docker, Kubernetes, and all modern container runtimes
- Stable LTS releases maintained for up to six years
Comparison with Similar Tools
- FreeBSD — BSD license, native ZFS; smaller driver and cloud ecosystem
- XNU (macOS) — Mach plus BSD hybrid kernel; restricted to Apple hardware
- Windows NT Kernel — proprietary, dominant on desktop; less flexible for server workloads
- Zephyr RTOS — purpose-built for microcontrollers, not general-purpose computing
FAQ
Q: Is Linux the same as Ubuntu or Fedora? A: No. Linux is only the kernel. Distributions bundle it with a package manager, init system, and userspace utilities.
Q: How often are new versions released? A: A new major version ships roughly every nine to ten weeks, with LTS versions maintained for two to six years.
Q: Can anyone contribute to the kernel? A: Yes. Patches go through the linux-kernel mailing list and are reviewed by subsystem maintainers before merging.
Q: Does Linux support real-time workloads? A: With PREEMPT_RT, Linux meets soft real-time requirements for industrial control and pro audio.