Torvalds says don't use 5.12 kernel with a swapfile!

Moderator: Forum moderators

Post Reply
Clarity
Posts: 3847
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1633 times
Been thanked: 528 times

Torvalds says don't use 5.12 kernel with a swapfile!

Post by Clarity »

User avatar
April
Posts: 493
Joined: Tue Dec 29, 2020 9:06 pm
Has thanked: 57 times
Been thanked: 28 times

Re: Torvalds says don't use 5.12 Kernel!

Post by April »

probably best to print a bit of it here as Ubuntu is closely followed by Puppy.

Torvalds goes on to point out that if you aren't using swap at all, this problem wouldn't bite you. And if you're using swap partitions, rather than swap files, you'd be similarly unaffected. Unfortunately, he then reminds us that while he knows an absolute ton about the kernel, he isn't necessarily all that familiar with all the plumbing a normal end user is concerned with:

And, as far as I know, all the normal distributions set things up with swap partitions, not files, because honestly, swapfiles tend to be slower and have various other complexity issues.

Many distributions still default to swap partitions, rather than files. But Ubuntu—which is perhaps the single most widely deployed Linux distribution on the planet—has been installing swapfiles by default for more than four years now. If you're an Ubuntu user (or user of an Ubuntu-derived distro, such as Mint), you've probably got a swapfile, and this bug would probably trash your entire root filesystem.

The Australian State Governments have all enacted laws to steal your assets on your death. All legal paperwork is binned and all assets seized on one disgruntled child's complaint.Move them well before you die or go into a home.

Post Reply

Return to “Kernels”