Linux kernel is getting more reliable, says Linus Torvalds. Plus: What do you need to do to be him?

Chief Linux maintainer job is all about reading many, many, many emails, and 'saying no'


Linux inventor (and chief maintainer) Linus Torvalds says that the kernel is getting more reliable, and he is not anxious about it being used in safety-critical systems.

Torvalds, being interviewed on stage at the Open Source Summit in Lyon yesterday, told onlookers: "I don't do speeches any more."

The Finnish-American engineer is responsible for creating two of the most significant software projects of the last 30 years, one being Linux (which dominates both server computing and, in the form of Android, mobile devices), and the other being git, the most popular source code management and collaboration tool. Asking the questions was Dirk Hohndel, chief open source officer at VMware.

Hohndel asked Torvalds if the increasing complexity of the Linux kernel, and the appearance from time to time of "complex, deep system interactions that are hard to debug" cast doubt on its suitability for safety-critical systems.

... in order to be able to say no, I have to know the background, because otherwise I can't do my job. I spend all my time basically reading email about what people are working on...

"I don't feel that. The bugs that get noticed are just more subtle because we have better testing infrastructure, we have better tools for both dynamic and static checking of the sources," said Torvalds.

"Linux has always been … any operating system by definition is complicated. I don't think we've been getting worse. One of the things people don't always realise is that these safety critical systems tend to do one thing and one thing only. That means that the kind of bugs what we see on desktop systems in random distributions are things that you never normally hit in the embedded world … the kind of bugs we tend to find are the random, crazy user bugs, where somebody does something that nobody even thought would be remotely sane."

Torvalds also said that that the process by which the kernel is deployed means there are "multiple levels of filter". He is responsible for the development kernel, but someone else (currently Greg Kroah-Hartman) maintains the stable kernel, and "the third step is the distro kernels that take the stable kernels and usually work their own testing on top of that".

Rather than the current kernel, he is more concerned with older kernels that are still in use. "People are still working with kernels that are so old that the base kernel is from before we got all the process in place. Some of the really long-term systems are using kernels that are very much inferior," he said.

You've always wondered: Here's what Torvalds actually does

How does Torvalds go about his job as chief maintainer of the Linux kernel? Torvalds' response is full of clues about why Linux has succeeded, the key thing being not so much technical genius but rather the ability to enable collaboration.

"I read email. I write email. I do no coding at all any more. Much of the code I write I actually write inside my mail reader," he said.

"In the end my job is to say no. Somebody has to be able to say no, because other developers know that if they do something bad I will say no. They hopefully in turn are more careful. But in order to be able to say no, I have to know the background, because otherwise I can't do my job. I spend all my time basically reading email about what people are working on.

Commit messages to me are almost as important as the code change itself

"One of my primary goals is to be very responsive to maintainers who send me patches or send me their pull request. I want to say yes or no within a day or two. A day or two may stretch into a week but I want to be there all the time. As a maintainer, I think that's one of the main things you want to do."

Being responsive, he said, is critical to enabling the team to function.

Torvalds also spoke about the value of documentation. "Commit messages to me are almost as important as the code change itself. Sometimes the code change is so obvious that no message is really required. That is very, very rare … if you can explain your code to me, I will trust the code. It also helps if in three years somebody else is trying to fix a bug, and looks at the change and says what the heck is that?"

Is kernel development harder than it used to be, because of the complexity? "In many respects kernel development has become much easier," Torvalds responded. "Yes, it's bigger and more complicated, but on the other hand, we have much better tools, and we have much better communication, we have a lot more community … Early on, you might not have the right hardware, because the kernel would only work on a very small subset of hardware. And that just isn't a problem any more."

After 28 years of Linux and almost 15 years of Git (though Torvalds noted that he "maintained git for six months and no more. The real credit goes to Junio Hamano and a lot of other developers"), is it time for a new project? "No. I am so done," said Torvalds.

That said, Torvalds, who in September 2018 temporarily stepped down from his role maintaining Linux, though resumed the following month, now shows no sign of wanting to quit. "I may spend most of my time reading email but the reason I do that is I'd be really bored if I wasn't," he said. ®

Broader topics


Other stories you might like

  • Robotics and 5G to spur growth of SoC industry – report
    Big OEMs hogging production and COVID causing supply issues

    The system-on-chip (SoC) side of the semiconductor industry is poised for growth between now and 2026, when it's predicted to be worth $6.85 billion, according to an analyst's report. 

    Chances are good that there's an SoC-powered device within arm's reach of you: the tiny integrated circuits contain everything needed for a basic computer, leading to their proliferation in mobile, IoT and smart devices. 

    The report predicting the growth comes from advisory biz Technavio, which looked at a long list of companies in the SoC market. Vendors it analyzed include Apple, Broadcom, Intel, Nvidia, TSMC, Toshiba, and more. The company predicts that much of the growth between now and 2026 will stem primarily from robotics and 5G. 

    Continue reading
  • Deepfake attacks can easily trick live facial recognition systems online
    Plus: Next PyTorch release will support Apple GPUs so devs can train neural networks on their own laptops

    In brief Miscreants can easily steal someone else's identity by tricking live facial recognition software using deepfakes, according to a new report.

    Sensity AI, a startup focused on tackling identity fraud, carried out a series of pretend attacks. Engineers scanned the image of someone from an ID card, and mapped their likeness onto another person's face. Sensity then tested whether they could breach live facial recognition systems by tricking them into believing the pretend attacker is a real user.

    So-called "liveness tests" try to authenticate identities in real-time, relying on images or video streams from cameras like face recognition used to unlock mobile phones, for example. Nine out of ten vendors failed Sensity's live deepfake attacks.

    Continue reading
  • Lonestar plans to put datacenters in the Moon's lava tubes
    How? Founder tells The Register 'Robots… lots of robots'

    Imagine a future where racks of computer servers hum quietly in darkness below the surface of the Moon.

    Here is where some of the most important data is stored, to be left untouched for as long as can be. The idea sounds like something from science-fiction, but one startup that recently emerged from stealth is trying to turn it into a reality. Lonestar Data Holdings has a unique mission unlike any other cloud provider: to build datacenters on the Moon backing up the world's data.

    "It's inconceivable to me that we are keeping our most precious assets, our knowledge and our data, on Earth, where we're setting off bombs and burning things," Christopher Stott, founder and CEO of Lonestar, told The Register. "We need to put our assets in place off our planet, where we can keep it safe."

    Continue reading

Biting the hand that feeds IT © 1998–2022