this post was submitted on 05 Feb 2026
6 points (100.0% liked)

Hacker News

4196 readers
502 users here now

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

founded 1 year ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] xodasu@sh.itjust.works 1 points 18 hours ago

Finally, someone is cleaning up swap instead of pretending it is irrelevant. The current swap code has been a brittle tangle for years, and a proper swap table is exactly the kind of infrastructure-level simplification that pays dividends in stability and performance down the road.

That said, merged in 6.18 is only step one. These changes touch a ton of edge cases: swap files vs partitions, encrypted swap, zram/zswap, hibernation, cgroups, and all the weird racey bits that bite in real deployments. I want benchmarks and wide testing before I clap too hard. Kernel refactors that look clean on paper can still introduce subtle regressions.

If you run low-memory servers or lots of VMs, test 6.18 in staging. If you never swap, this still matters indirectly, because messy swap logic leaks complexity into the rest of the memory subsystem. Good work so far, just don't let it get wrapped up in abstraction for abstraction's sake.