Linux Kernel's thread

Linus Torvalds Still Deciding Linux 3.20 vs. Linux 4.0

inus Torvalds is still deciding when to bump the kernel version to Linux 4.0.

Back in 2013 Torvalds talked of renaming Linux 3.20 to Linux 4.0 when the time came, but as talked about in several articles since then, there hasn't been much communication whether the in-development Linux 3.20 will be re-branded as Linux 4.0. Like with the move from Linux 2.6.x to Linux 3.0, Torvalds wanted to move to v4.0 simply since the minor point release numbers were getting high.

It seems Linus is still deciding himself whether to move to Linux 4.0 now so he's quietly started a poll via his Google+ page. He wrote, "We're slowly getting up there again, with 3.20 being imminent, and I'm once more close to running out of fingers and toes. I was making noises about just moving to 4.0 some time ago. But let's see what people think. So - continue with v3.20, because bigger numbers are sexy, or just move to v4.0 and reset the numbers to something smaller?"

As of writing, 57% are voting for "v4.0, 'cause I get confused easily" while 43% voted for "I like big versions, and I cannot lie."

http://www.phoronix.com/scan.php?page=news_item&px=Linux-3.20-Linux-4.0-Poll
 
None. 15.01 ou 320, 321, 322, ... , 399, 400.
Não faz sendido saltar numeros porque sim.
Se o torvalds acha que já não vai haver de futuro uma quebra de API's que justifique um aumento de major, então não tem que o fazer artificialmente aumentar.
Ele está-se a preocupar com a facilidade, mas dês de quando é que os utilizadores convencionais se ralam minimamente com a versão do kernel? Mais rapidamente se preocupam com a idade do que com saber se é um 3.20 ou um 4.0...
 
Sobre o Kernel live-patching:

"Let me provide a bit of history first, before describing what is in this pile. Originally, there was kSplice as a standalone project that implemented stop_machine()-based patching for the linux kernel.

This project got later acquired, and the current owner is providing live patching as a proprietary service, without any intentions to have their implementation merged. Then, due to rising user/customer demand, both Red Hat and SUSE started working on their own implementation (not knowing about each other), and announced first versions roughly at the same time [1] [2].

The principle difference between the two solutions is how they are making sure that the patching is performed in a consistent way when it comes to different execution threads with respect to the semantic nature of the change that is being introduced.

In a nutshell, kPatch is issuing stop_machine(), then looking at stacks of all existing processess, and if it decides that the system is in a state that can be patched safely, it proceeds insterting code redirection machinery to the patched functions. On the other hand, kGraft provides a per-thread consistency during one single pass of a process through the kernel and performs a lazy contignuous migration of threads from "unpatched" universe to the "patched" one at safe checkpoints. If interested in a more detailed discussion about the consistency models and its possible combinations, please see the thread that evolved around [3].

It pretty quickly became obvious to the interested parties that it's absolutely impractical in this case to have several isolated solutions for one task to co-exist in the kernel. During a dedicated Live Kernel Patching track at LPC in Dusseldorf, all the interested parties sat together and came up with a joint aproach that would work for both distro vendors. Steven Rostedt took notes [4] from this meeting. And the foundation for that aproach is what's present in this pull request.

It provides a basic infrastructure for function "live patching" (i.e. code redirection), including API for kernel modules containing the actual patches, and API/ABI for userspace to be able to operate on the patches (look up what patches are applied, enable/disable them, etc). It's relatively simple and minimalistic, as it's making use of existing kernel infrastructure (namely ftrace) as much as possible. It's also self-contained, in a sense that it doesn't hook itself in any other kernel subsystem (it doesn't even touch any other code).

It's now implemented for x86 only as a reference architecture, but support for *****, s390 and arm is already in the works (adding arch-specific support basically boils down to teaching ftrace about regs-saving). Once this common infrastructure gets merged, both Red Hat and SUSE have agreed to immediately start porting their current solutions on top of this, abandoning their out-of-tree code.

The plan basically is that each patch will be marked by flag(s) that would indicate which consistency model it is willing to use (again, the details have been sketched out already in the thread at [3]). Before this happens, the current codebase can be used to patch a large group of secruity/stability problems the patches for which are not too complex (in a sense that they don't introduce non-trivial change of function's return value semantics, they don't change layout of data structures, etc) -- this corresponds to LEAVE_FUNCTION && SWITCH_FUNCTION semantics described at [3].

https://git.kernel.org/cgit/linux/k.../?id=1d9c5d79e6e4385aea6f69c23ba543717434ed70
 
Toshiba Laptops To Have Improved Support In Linux 3.20

The platform-drivers-x86 pull request has been filed for the Linux 3.20 kernel and it includes some prominent additions.

First up, the Toshiba ACPI driver (toshiba_acpi) is closer to feature-parity with its Windows counterpart. The Linux Toshiba ACPI driver now supports USB Sleep & Charge functions, USB Sleep functions under battery, USB Rapid Charge, USB Sleep & Music, support for keyboard functions mode, support for Panel Power On, support to enable/disable USB 3, etc. There's also driver clean-ups and other improvements for this ACPI laptop driver specifically for Toshiba hardware.

The Samsung laptop driver (samsung-laptop) meanwhile has a native backlight quirk, better lid handling, and other improvements.

The platform-drivers-x86 pull request also has other changes for the Linux 3.20/4.0 kernel as outlined at the kernel mailing list.

http://www.phoronix.com/scan.php?page=news_item&px=Linux-3.20-x86-Platform-Drivers

Boas notícias para quem tiver portáteis Toshiba e Samsung.
 
The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue

It appears that the current Linux 4.0.x kernel is plagued by an EXT4 file-system corruption issue. If there's any positive note out of the situation, it seems to mostly affect EXT4 Linux RAID users.

A Phoronix reader, Zoltán Tősér, wrote into Phoronix today about an unpatched EXT4 data corruption bug present as of the Linux 4.0.2 kernel. He explained, "several people were affected by an ext4 data corruption bug in Linux 4.0.2. The bug is reported to be unpatched even in the most recent stable version, Linux 4.0.4. We are not sure what exactly triggers the problem, using a RAID setup seems to have something to do with it. It is reported to affect multiple distributions, including Arch, Debian and Fedora, so it seems to be an upstream problem."

There's this Arch Linux thread discussing the Linux 4.0 EXT4 corruption issue with multiple users being affected. There's also this potentially related patch and this related Debian bug report. Fortunately as the problem seems to be somewhat widespread at least among multi-disk EXT4 users, the issue should get addressed in a stable Linux 4.0 point release in the very near future.

http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.0-EXT4-Warning
 
Back
Topo