泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

泰晓Linux知识星球:1300+知识点,520+用户
请稍侯

泰晓资讯·3月 / 第三期 / 2021

unicornx 创作于 2021/03/26

“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。

Linux 内核最新消息

https://lkml.org/lkml/2021/3/21/314

Linus 于 3 月 21 日发布了 Linux 5.12-rc4,5.12 内核看起来情况还是不错的,其第四个 RC 版本现在已经就绪,可以进行测试。Linux 5.12 的测试进度总体上看相当平静,和早期 5.12-rc1 中被讨厌的数据损坏问题所困扰的情况比起来要好得多。

https://www.kernel.org/

分支类型版本发布时间
mainline5.12-rc42021-03-21
stable5.11.102021-03-25
longterm5.10.262021-03-25
longterm5.4.1082021-03-24
longterm4.19.1832021-03-24
longterm4.14.2272021-03-24
longterm4.9.2632021-03-24
longterm4.4.2632021-03-24
linux-nextnext-202103262021-03-26

关键词: Linux

Linux 基金会发布推文庆祝 Tux 30 岁生日

Linux 基金会发布推文庆祝 Tux 30 岁生日,并为它设计了一系列庆祝海报,以方便大家转发分享至社交媒体。详情请访问海报下载处:https://www.linuxfoundation.org/en/linux30th/

相信大家对这只小企鹅应该不会陌生,它就是 Linux 吉祥物 “Tux”。事实上,真正 30 岁的不是 Tux,而是 Linux 本身,因为 Linux 最早诞生于 1991 年,而 Tux 直到 1996 年才被设计出来。

关于 “Tux” 这个名字的来由,维基百科解释如下:The first person to call the penguin "Tux" was James Hughes, who said that it stood for (T)orvalds (U)ni(X)". However, tux is also an abbreviation of tuxedo, the outfit which often springs to mind when one sees a penguin。意思就是说 “Tux” 既包含了 Torvalds UniX 这层意思,也因为这只小企鹅看起来像是穿着一件燕尾服 (Tuxedo)。

Linus 曾经在一封邮件中描述了他理想中的企鹅吉祥物模样:“它不胖,但它应该是坐着的,因为实在吃得太饱所以站不起来。”,这启发了 “Tux” 的设计者 Larry Ewing,并在 1996 年利用 GIMP 设计出了这只企鹅。

关键词: Linux, Tux

Linux Lab 发布 v0.7 rc1,同步发售开机即用版 Linux Lab to go

经过近 2 个月的开发,Linux Lab 终于发布了 v0.7-rc1,主要是新增了 Linux Lab Disk,一款可开机即用的 Linux Lab U盘,同时修复了 Windows 和 macOS 的 webvnc 登陆衰退问题。本次同步发布 Cloud Lab v0.5 rc1。

Linux Lab Disk 进一步降低了 Linux Lab 的准入门槛,完全做到免安装,上电开机即用,消除主机操作系统的兼容性和网络环境等的不确定性等因素,Linux Lab Disk 同时允许在 Windows 和 Linux 下通过虚拟机直接启动,另外,还新增了透明压缩和内存编译等提升容量和寿命的特性。预计 128G 可以写入 150-200G 左右,64G 可以写入 80G-100G 左右,具体情况因写入数据类型而异。

新闻出处:”Linux Lab 发布 v0.7 rc1,同步发售开机即用版 Linux Lab to go”: https://tinylab.org/linux-lab-v07-rc1/

关键词: Linux Lab

Linux-Next 加入对 Rust 的初步支持

For a long while now Linux kernel developers have discusses the prospects of optionally allowing the Rust language to be used for new device drivers within the Linux kernel areas and other areas within the kernel for this language that prides itself on safety and performance. As the first baby step towards that dream, initial Rust support appeared this week in the Linux-Next tree.

据社区报道:Linux-Next 分支加入了对 Rust 语言开发设备驱动的初步支持。目前还不清楚对 Rust 的支持未来是否会合并到 Linux 主支,如果会的话这将是朝着用 Rust 编写设备驱动迈出的重要一步。

Rust 语言是专注于安全、速度和并发的系统级编程语言,最初由 Mozilla 主导开发,它吸引了越来越多企业的兴趣,被认为比 C 或 C++ 更安全也更容易使用。

Linux-Next 分支主要用于存放一些将在下一周期合并进内核主支的代码。内核开发者去年曾讨论过加入对 Rust 的支持。

新闻出处:”Initial Support For The Rust Language Lands In Linux-Next”: https://www.phoronix.com/scan.php?page=news_item&px=Rust-Hits-Linux-Next

关键词: Linux,Rust

基于 Rust 的 Coreutils 已足以运行 Debian

Sylvestre Ledru who is a director at Mozilla by day while also being prolific to Debian/Ubuntu and LLVM/Clang development has managed to get a Rust version of Coreutils packaged and running well enough on Debian.

Sylvestre Ledru 是 Mozilla 的主管,同时也精通 Debian/Ubuntu 和 LLVM/Clang 的开发,在他的努力下采用 Rust 重写的 coreutils 软件包(起名叫 uutils)已经可以顺利地在 Debian 上运行了。Debian 不仅可以使用基于 Rust 的 Coreutils 实现引导,而且还可以处理最受欢迎的 Debian软件包,构建Firefox / Linux / Clang 等。 最终,uutils 的目标是成为 GNU Coreutils 的直接替代品,而且是用内存安全的 Rust 代替了 C 来编写。

新闻出处:”Experimental Rust-Based Coreutils Working Well Enough To Run Debian Basics”: https://www.phoronix.com/scan.php?page=news_item&px=Debian-Rust-Coreutils

关键词: Rust, Coreutils

下一个 Linux 5.13 内核将针对 RISC-V 支持一些有趣的功能

Queued up now in RISC-V’s “for-next” branch as of this week is support for XIP, or eXecute In Place. RISC-V XIP allows for code to be executed directly from non-volatile storage that is directly addressable by the CPU. RISC-V XIP allows for executing code directly off CPU-addressable storage like QSPI NOR flash memory without first having to load it into system RAM.

截至本周,在RISC-V的 for-next 分支中排队的是对 XIP(eXecute In Place)特性的支持。RISC-V XIP 允许直接从可由 CPU 直接寻址的非易失性存储中直接执行代码。RISC-V XIP 允许直接从某些支持 XIP 特性的存储设备(例如 QSPI NOR 闪存)直接执行代码,而无需首先将其加载到系统 RAM 中。基于 RISC-V XIP 特性,内核将可以直接从闪存运行,但是要求该场景下内核不能是压缩的,并且必须使能了 MMU。

新闻出处:”RISC-V XIP Support Queued Ahead Of Linux 5.13 To eXecute In Place”: https://www.phoronix.com/scan.php?page=news_item&px=RISC-V-XIP-For-Linux-5.13

关键词: Linux, RISC-V, XIP

简单盘点一下新的 QEMU 6.0会给我们带来哪些新特性

This week marked the hard feature freeze for QEMU 6.0 along with the tagging of QEMU 6.0-rc0. The QEMU 6.0 release should happen around the end of April for this important piece of the open-source Linux virtualization stack.

本周随着 6.0-rc0 tag 发布,标志着 QEMU 6.0 的主要特性开发基本冻结。目前的计划是正式的 6.0 版本会在 4 月底左右发布。

QEMU 6.0 是一版重大功能更新,主要修改包括:

  • 支持使用 LTO(link-time optimizations)构建,并且还支持 LLVM 的 CFI(Control-Flow Integrity)。
  • 支持运行 AMD SEV-ES 加密 guest。
  • 新增支持 out-of-process device emulation 的实验选项。 -对 QEMU RISC-V 进行了各种改进,包括在 64 位软件版本上支持 3 2位CPU 的初始工作,文档改进等以及已连接的各种功能。
  • 添加了 Loongson-3 virt 机。
  • 等等

更多介绍参见 “QEMU 6.0 On The Way With LTO Support, AMD SEV-ES Guests, Multi-Process Experiment”: https://www.phoronix.com/scan.php?page=news_item&px=QEMU-6.0-On-The-Way

关键词: QEMU

Ubuntu 21.04 将为其软件包启用 LTO 优化

Ubuntu 21.04 is moving ahead with plans to enable compiler link-time optimizations (LTO) by default for package builds in the name of greater performance.

链接时间优化 LTO(Link Time Optimization)是一种链接时对整个程序多个编译单元优化的方法,其所生成的代码更快,文件更小。现在,像 GCC,Python 这样的上游项目已经默认打开 LTO 或提供 LTO 配置选项,其他 Linux 发行版也在发行时默认打开 LTO。此外,Linux Kernel 5.12 也或将支持 LTO 优化。

根据 Ubuntu wiki https://wiki.ubuntu.com/ToolChain/LTO 显示,除了 riscv64 外(不想减慢其构建速度),Ubuntu 21.04 计划在将 glibc 2.33 添加到发行版后为所有的 64 位架构默认启用 LTO。目前,LTO 的编译器标志已经添加到 dpkg-buildflags 中,可以在软件包构建中被覆盖,将在 amd64,arm64,ppc64el 和 s390x 上启用。

新闻出处:”Ubuntu 21.04 Moves Ahead With Enabling LTO Optimizations For Greater Performance”: https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-21.04-Does-LTO

关键词: Ubuntu, LTO

联系我们

资讯内容部分来自 “LWN.net“。如果您对某些 LWN 文章感兴趣(譬如希望获得全文翻译的)请扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: