Linux Kernel Makes Time Stamp Counter Mandatory for x86

The Linux kernel now requires the Time Stamp Counter on all x86 processors, ending support for very old hardware like Intel 486 and aligning with Windows practices.

Linux Kernel Makes Time Stamp Counter Mandatory for x86

The kernel now requires the Time Stamp Counter (TSC) on all x86 processors. This change removes the ability to build the operating system for CPUs that lack this hardware feature. It affects anyone maintaining legacy systems or compiling custom kernels for very old machines.

Linux kernel removes legacy x86 support by mandating Time Stamp Counter

This requirement stems from a specific kernel commit that makes CONFIG_X86_TSC unconditional. The Linux Foundation oversees the kernel development that implements this shift. The change eliminates the configuration logic that previously allowed builds without TSC support.

TSC provides high-resolution timing through a 64-bit register that runs in sync with the CPU clock. This hardware timer is significantly faster than alternatives like HPET or ACPI PM timers. The kernel relies on this speed for precise system operations.

Microsoft has used TSC as the basis for QueryPerformanceCounter since Windows 8. Microsoft notes that reading a TSC-based counter takes only tens to hundreds of CPU cycles. Fallback to motherboard-based timers can push that cost to roughly 0.8 to 1.0 microseconds.

Linux 7.0 previously dropped support for 486 processors. That earlier update enabled the current mandatory requirement for modern x86 hardware. The kernel now aligns its hardware expectations with the capabilities of systems released over the last two decades.

Discussion

0 comments

Log in to join the thread with a thoughtful take, question, or correction.

Add to the discussion