Linux: Rethinking Suspend and Resume | Linux Today

Linux: Rethinking Suspend and Resume

Written By
Web Webster
Web Webster
May 30, 2007

“What started as the review of a bug report grew into an
interesting debate as Linus Torvalds slammed the current suspend
and resume design in the Linux Kernel, ‘why the H**L cannot you
realize that kernel threads are different? The right thing to do is
AND HAS ALWAYS BEEN, to stop and start user threads only around the
whole thing. Don’t touch those kernel threads. Stop freezing them.’
Later in the discussion, Linus noted that he had no interest in
Suspend to Disk (STD), and was only interested in a working Suspend
to Ram (STR) implementation. He noted that complexity introduced by
STD was infecting the STR logic, and that the two should be
completely separated, ‘what irritates me is that STR really
shouldn’t have _had_ that bug at all. The only reason STR had the
same bug as STD was exactly the fact that the two features are too
closely inter-twined in the kernel. That irritates me hugely. We
had a bug we should never had had! We had a bug because people are
sharing code that shouldn’t be shared! We had a bug because of code
that makes no sense in the first place!’ Linus noted that he
doesn’t use laptops much, but still likes STR on his desktop, ‘STR
means they are quiet and don’t waste energy when I don’t use them,
but they’re instantly available when I care…'”

Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.