四大亮点带你看 Linux 内核 5.6
内核
当我们还在体验 Linux 5.5 稳定发行版带来更好的硬件支持时，Linux 5.6 已经来了。


说实话，Linux 5.6 比 5.5 更令人兴奋。即使即将发布的 Ubuntu 20.04 LTS 发行版将自带 Linux 5.5，你也需要切实了解一下 Linux 5.6 内核为我们提供了什么。


我将在本文中重点介绍 Linux 5.6 发布版中值得期待的关键更改和功能：


### Linux 5.6 功能亮点


![](/data/attachment/album/202002/05/113205i65r862bfb88fz77.jpg)


当 Linux 5.6 有新消息时，我会努力更新这份功能列表。但现在让我们先看一下当前已知的内容：


#### 1、支持 WireGuard


WireGuard 将被添加到 Linux 5.6，出于各种原因的考虑它可能将取代 [OpenVPN](https://openvpn.net/)。


你可以在官网上进一步了解 [WireGuard](https://www.wireguard.com/) 的优点。当然，如果你使用过它，那你可能已经知道它比 OpenVPN 更好的原因。


同样，[Ubuntu 20.04 LTS 将支持 WireGuard](https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-20.04-Adds-WireGuard)。


#### 2、支持 USB4


Linux 5.6 也将支持 **USB4**。


如果你不了解 USB 4.0 (USB4)，你可以阅读这份[文档](https://www.usb.org/sites/default/files/2019-09/USB-IF_USB4%20spec%20announcement_FINAL.pdf)。


根据文档，“USB4 将使 USB 的最大带宽增大一倍并支持<ruby> 多并发数据和显示协议 <rt>  multiple simultaneous data and display protocols </rt></ruby>。”


另外，虽然我们都知道 USB4 基于 Thunderbolt 接口协议，但它将向后兼容 USB 2.0、USB 3.0 以及 Thunderbolt 3，这将是一个好消息。


#### 3、使用 LZO/LZ4 压缩 F2FS 数据


Linux 5.6 也将支持使用 LZO/LZ4 算法压缩 F2FS 数据。


换句话说，这只是 Linux 文件系统的一种新压缩技术，你可以选择待定的文件扩展技术。


#### 4、解决 32 位系统的 2038 年问题


Unix 和 Linux 将时间值以 32 位有符号整数格式存储，其最大值为 2147483647。时间值如果超过这个数值则将由于整数溢出而存储为负数。


这意味着对于 32 位系统，时间值不能超过 1970 年 1 月 1 日后的 2147483647 秒。也就是说，在 UTC 时间 2038 年 1 月 19 日 03:14:07 时，由于整数溢出，时间将显示为 1901 年 12 月 13 日而不是 2038 年 1 月 19 日。


Linux kernel 5.6 解决了这个问题，因此 32 位系统也可以运行到 2038 年以后。


#### 5、改进硬件支持


很显然，在下一个发布版中，硬件支持也将继续提升。而支持新式无线外设的计划也同样是优先的。


新内核中将增加对 MX Master 3 鼠标以及罗技其他无线产品的支持。


除了罗技的产品外，你还可以期待获得许多不同硬件的支持（包括对 AMD GPU、NVIDIA GPU 和 Intel Tiger Lake 芯片组的支持）。


#### 6、其他更新


此外，Linux 5.6 中除了上述主要的新增功能或支持外，下一个内核版本也将进行其他一些改进：


* 改进 AMD Zen 的温度/功率报告
* 修复华硕飞行堡垒系列笔记本中 AMD CPU 过热
* 开源支持 NVIDIA RTX 2000 图灵系列显卡
* 内建 FSCRYPT 加密


[Phoronix](https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.6-Spectacular) 跟踪了 Linux 5.6 带来的许多技术性更改。因此，如果你好奇 Linux 5.6 所涉及的全部更改，则可以亲自了解一下。


现在你已经了解了 Linux 5.6 发布版带来的新功能，对此有什么看法呢？在下方评论中留下你的看法。




---


via: <https://itsfoss.com/linux-kernel-5-6/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[LazyWolfLin](https://github.com/LazyWolfLin) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
While we’ve already witnessed the stable release of Linux 5.5 with better hardware support, Linux 5.6 is an even more exciting release.

Linus Torvalds has [announced the release of Kernel 5.6](https://lore.kernel.org/lkml/CAHk-=wi9ZT7Stg-uSpX0UWQzam6OP9Jzz6Xu1CkYu1cicpD5OA@mail.gmail.com/). He also noted that kernel development is not impacted with the Coronavirus lockdown:

I haven’t really seen any real sign of kernel development being impacted by all the coronavirus activity – I suspect a lot of us work from home even normally


Torvalds also expect a normal Kernel 5.7 release in coming months but certainly not at the cost of health of the contributors:

I’m currently going by the assumption that we’ll have a fairly normal 5.7 release, and there doesn’t seem to be any signs saying otherwise, but hey, people may have better-than-usual reasons for missing the merge window. Let me know if you know of some subsystem that ends up being affected.


So we’ll play it by ear and see what happens. It’s not like the merge window is more important than your health, or the health of people around you.

It’s nice of Linus Torvalds to highlight that in these difficult times with all the stuff going around with Coronavuirus.

Let me highlight the key changes and features of Linux kernel 5.6 release:

## Linux 5.6 features highlight

![Linux Kernel 5.6](https://itsfoss.com/content/images/wordpress/2020/02/linux-kernel-5.6.jpg)

Here’s all the major new changes:

### 1. WireGuard Support

[WireGuard](https://itsfoss.com/wireguard/) has been added to Linux 5.6 – potentially replacing [OpenVPN](https://openvpn.net/) for a variety of reasons.

You can learn more about [WireGuard](https://www.wireguard.com/) on their official site to know the benefits. Of course, if you’ve used it, you might be aware of the reasons why it’s potentially better than OpenVPN.

Also, [Ubuntu 20.04 LTS will be adding support for WireGuard](https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-20.04-Adds-WireGuard).

### 2. USB4 Support

Linux 5.6 also includes the support of** USB4**.

In case you didn’t know about USB 4.0 (USB4), you can read the [announcement post](https://www.usb.org/sites/default/files/2019-09/USB-IF_USB4%20spec%20announcement_FINAL.pdf).

As per the announcement – “*USB4 doubles the maximum aggregate bandwidth of USB and enables multiple simultaneous data and display protocols.*“

Also, while we know that USB4 is based on the Thunderbolt protocol specification, it will be backward compatible with USB 2.0, USB 3.0, and Thunderbolt 3 – which is great news.

### 3. F2FS Data Compression Using LZO/LZ4

Linux 5.6 also comes with the support for F2FS data compression using LZO/LZ4 algorithms.

In other words, it is just a new compression technique for the Linux file-system where you will be able to select particular file extensions.

### 4. Fixing the Year 2038 problem for 32-bit systems

Unix and Linux store the time value in a 32-bit signed integer format which has the maximum value of 2147483647. Beyond this number, due to integer overflow, the values will be stored as a negative number.

This means that for a 32-bit system, the time value cannot go beyond 2147483647 seconds after Jan. 1, 1970. In simpler terms, after 03:14:07 UTC on Jan. 19, 2038, due to integer overflow, the time will read as Dec. 13, 1901 instead of Jan. 19, 2038.

Linux kernel 5.6 has a fix for this problem so that 32-bit systems can run beyond the year 2038.

### 5. Improved Hardware Support

Like every new kernel release, the hardware support improves in kernel 5.6 as well. The plan to support newer wireless peripherals is a priority here.

The new kernel adds the support for MX Master 3 mouse and other wireless Logitech products.

In addition to Logitech products, you can expect a lot of different hardware support as well (including the support for AMD GPUs, NVIDIA GPUs, and Intel Tiger Lake chipset support).

### 6. Other Changes

Also, in addition to all these major additions/support in Linux 5.6, there are several other changes that have been added to this kernel release:

- Improvements in AMD Zen temperature/power reporting
- A fix for AMD CPUs overheating in ASUS TUF laptops
- Open-source NVIDIA RTX 2000 “Turing” graphics support
- FSCRYPT inline encryption.

[Phoronix](https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.6-Spectacular) tracked a lot of technical changes arriving with Linux 5.6. So, if you’re curious about every bit of the changes involved in Linux kernel 5.6, you can check for yourself.

Now that you’ve known the Linux kernel 5.6 release – what do you think about it? Let me know your thoughts in the comments below.