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

泰晓RISC-V实验箱,不会吃灰,开箱即用
请稍侯

泰晓资讯·9 月 / 第三期 / 2022

unicornx 创作于 2022/09/22

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

Linux 内核最新消息

https://lkml.org/lkml/2022/9/18/260

本周 Linus Torvalds 发布了 Linux 6.0 的第 6 个每周发布候选版本,由于 Linux Plumbers Conference‎‎、Open-Source Summit Europe 以及本周在爱尔兰都柏林举行的其他 Linux 活动,大多数内核维护者和其他著名的内核开发人员都在那里忙碌。因此,Linux 6.0-rc6 比起上周的 6.0-rc5,改动要小得多。‎

Torvalds 在 6.0-rc6 公告中写道:

So this is an artificially small -rc release, because this past week we had the Maintainers’ Summit in Dublin (along with OSS EU and LPC 2022), so we’ve had a lot of maintainers traveling.

Or - putting my ridiculously optimistic hat on - maybe things are just so nice and stable that there just weren’t all that many fixes?

Yeah, I know which scenario I’m betting on, but hope springs eternal.

Regardless, things look fine. I am expecting rc7 to be larger than usual due to pull requests having shifted one week later, and in the worst case that might mean that I might feel like we need an extra rc8, but for now I’m going to assume it’s not going to be that noticeable and hope we’ll just keep to the regular schedule.

But it would be lovely if everybody gave this some extra tender loving care in the form of extra testing…

看山去 Linus 有点担心本周的平静会导致下周的 rc-7 改动过大以至于针对 6.0 我们会需要额外的一周去修复可能会引入的各种 bug。让我们看看到接下来的两周将如何发展,但 ‎‎Linux 6.0 ‎‎稳定版应该能在 10 月初发布。‎‎Linux 6.0 有许多令人兴奋的功能和改进‎‎。

https://www.kernel.org/ updated by 2022/9/22

分支类型版本发布时间
mainline6.0-rc62022-09-18
stable5.19.102022-09-20
longterm5.15.692022-09-20
longterm5.10.1442022-09-20
longterm5.4.2142022-09-20
longterm4.19.2592022-09-20
longterm4.14.2942022-09-20
longterm4.9.3292022-09-20
linux-nextnext-202209212022-09-21

关键词: Linux

MGLRU 补丁发布第 15 版改进

Google engineer Yu Zhao this morning published MGLRU v15, the latest revision to this patch series dealing with improving the Linux kernel’s page reclamation code. Multi-Gen LRU “MGLRU” has proven to offer performance benefits and particularly improve the Linux experience when dealing with low-memory situations.

‎Google 工程师 Yu Zhao 今天早上发布了 MGLRU v15,这是这个补丁系列的最新修订版,涉及改进 Linux 内核的页面回收代码。Multi-Gen LRU 简称 ‎‎MGLRU 已被证明在性能上具有明显的优势,尤其在处理内存不足的情况下会极大改善 Linux 上的体验。‎ ‎ ‎ ‎MGLRU 已成为 ‎‎2022 年最好的内核创新之一‎‎,并有望在 10 月份合入 Linux 6.1 内核主线。本次版本发布可能是这个补丁系列在合入主线之前的最后一次升级,除非在最后一分钟出现意想不到的什么问题或者为了添加额外的文档和签名行再升级一版。希望没有问题会阻止这个备受追捧的内核功能合入 Linux 6.1。‎ ‎ ‎ MGLRU 被很多发行版采用,包括 Chrome OS,Liquorix,Armbian,Android,Arch Linux Zen 和其他下游内核版本,除此之外,在 v15 中我们还看到它支持了 OpenWrt‎‎。

新闻出处,“MGLRU v15 Published For Last Minute Testing Of This Major Linux Improvement”: https://www.phoronix.com/news/GNU-C-Language-Manual

关键词: Linux, MGLRU, Google

Loongson 为 LoongArch 笔记本电脑准备 Linux

Chinese hardware vendor Loongson Technology continues working on the LoongArch code for the Linux kernel for their in-house CPU ISA derived from MIPS64. Now that the initial code has been mainlined since 5.19 and some of the necessary other critical bits of code are getting squared away, recently they have been working on other missing functionality for supporting their initial LoongArch-based Loongson 3A5000 series SoCs.

来自中国的硬件供应商 Loongson Technology 继续为其源自 MIPS64 的 LoongArch CPU ISA 开发 Linux 内核‎‎代码。现在,自 5.19 以来,初步的支持代码已经合入主线,最近他们一直在研究其他缺失的功能,以支持他们最初的基于 LoongArch 的 Loongson 3A5000 系列 SoC。‎ ‎ ‎ ‎他们的工程师最近一直在研究的补丁系列之一是用于 LoongArch 的基于 ACPI 的通用笔记本电脑驱动程序。最近发出了 “loongson-laptop” 驱动程序‎‎的最新代码‎‎,用于即将推出的 LoongArch 笔记本电脑上的各种 ACPI 功能。‎ ‎ ‎ ‎当 Loongson 基于 MIPS64 时,曾经推出过几个笔记本电脑设计,在 LoongArch 世界中,看起来这种情况将继续下去。‎ ‎ ‎ ‎据来自 YouTube 的报道,至少一位来自中国的玩家 Lander Tee 接触过一台 LoongArch 笔记本电脑,但有关 LoongArch 笔记本电脑的英文信息很少。与之前的 Loongson 笔记本电脑类似,在西方市场找到它们的机会可能很小。但即便如此,Loongson 3A5000 的性能和旧的 Intel 或者 AMD CPU 比起来还是要差一些,甚至也比不过 ARM。如果能与即将推出的 RISC-V 笔记本电脑做个比较将会非常有趣。‎

新闻出处,“Loongson Preparing Linux For LoongArch Laptops”: https://www.phoronix.com/news/Loongson-LoongArch-Laptop-Prep

关键词: Linux,Loongson,LoongArch

‎LPC 2022 上有关 Rust for Linux 的讨论

Held today during the first day of Linux Plumbers Conference 2022 in Dublin was a Rust mini-conference about the ongoing work on making Rust a suitable systems programming language and integrating support for Rust within the mainline Linux kernel. There were many interesting talks from the status of the Rust integration from the Linux kernel to a Rust-written NVMe driver that can perform as well as the C written driver.

9 月 12 日是在 Dublin 举行的 ‎‎2022 年 Linux Plumbers Conference ‎‎的第一天,举行了一个有关 Rust 的迷你会议,讨论如何使 Rust 成为合适的系统编程语言,并在主线 Linux 内核中集成对 Rust 的支持。会议上讨论了很多有趣的主题,包括目前内核上游的集成工作状态以及如何用 Rust 编写 NVMe 驱动程序。‎ ‎ ‎ ‎领导 “Rust for Linux” 工作的 Miguel Ojeda 对该项目的状态做了介绍,基于‎‎幻灯片,他介绍了‎‎最新的补丁系列是如何精简的‎‎,以减轻合入上游的工作,以及过去一年的各种进展,包括新的 Rust 封装工作,以扩大内核中 Rust 代码的可用性。然后是代码何时被主线化的问题,希望这项工作能够早日完成,特别是基于现在使用简化后的补丁。‎ ‎ ‎ ‎虽然现在仍然需要 Rust 的官方基于 LLVM 的编译器,但也有一个围绕 ‎‎GCC 13 计划的 GCC for Rust 的支持‎‎正在进行。在 GCC for Rust 支持实现所有功能并能与基于 LLVM 的编译器相媲美之前,在这方面还有很长的路要走。‎ ‎ ‎ 来自 Western Digital 的 Andreas Hindborg 围绕基于 Rust 开发 NVMe 驱动程序进行了一次演讲,引起了人们的极大兴趣。虽然 Linux 内核已经拥有出色的 C 语言编写的 NVMe 驱动程序,但由于驱动程序被广泛使用且非常重要,因此尝试使用 Rust 编写的 NVMe 驱动程序也是一件很有趣的工作。利用该驱动测试和评估采用 Rust 编写驱动究竟性能如何也很容易。‎

新闻出处,“LPC 2022: Rust Linux Drivers Capable Of Achieving Performance Comparable To C Code”: https://www.phoronix.com/news/LPC-2022-Rust-Linux

关键词: Linux,Rust

Ubuntu 22.10 将支持 Sipeed LicheeRV RISC-V 开发板

LLVM 15 is now ready to roll as a big half-year update to this open-source compiler stack. LLVM 15.0, Clang 15.0, and other sub-projects have a lot to show for their summer 2022 accomplishments.

Ubuntu 已经支持了 StarFive VisionFive ‎‎和 ‎‎Nezha‎‎ 这些 RISC-V 开发板,来自 Canonical 的工程师正致力于为下个月发布的 Ubuntu 22.10 版本添加对 Sipeed LicheeRV 开发板的支持。Sipeed LicheeRV 是目前最便宜的 RISC-V 开发板之一:起步价为 16.90 美元。‎ ‎ ‎ ‎Sipeed LicheeRV 是一种带有 M.2 连接器的子板,可以连接到其他母板上工作。‎Sipeed LicheeRV 使用 Allwinner 的 D1 SoC,该 SoC 集成了单核的 XuanTie C906 64 位 RISC-V 处理器。这款单核 RISC-V 处理器的运行频率仅为 1.0GHz。是的,该开发板非常便宜但速度较慢。LicheeRV 的主要应用场景是面向网络和其他物联网用例。‎

Sipeed LicheeRV 只集成了 512MB 的 DDR3 792MHz 系统内存,但也有一个 1GB 的变体。提供一个微型 SD 插槽提供持久存储。以及一个通过 SPI 接口提供视频/显示输出。‎ ‎ ‎ ‎这个 RISC-V 板对于 Linux 桌面甚至大多数 Raspberry Pi 应用都太慢了,但对于某些物联网场景来说应该足够了。通过 Aliexpress 购买‎‎起价为 16.90 美元,目前似乎只有 Aliexpress 是唯一一家面向西方市场的分销商。‎ ‎ ‎ ‎Sipeed LicheeRV 于去年发布,最初的目标是支持基于 OpenWrt 的 Linux 发行版,但 Canonical 最近一直在努力为 Ubuntu 22.10 添加对这个 RISC-V 开发板的支持。这似乎是 Ubuntu 越来越关注成为 RISC-V 硬件的主要发行版竞争者的一部分。‎ ‎ ‎ 新闻出处,“Ubuntu 22.10 Aiming To Support The $16+ Sipeed LicheeRV RISC-V Board”: https://www.phoronix.com/news/Ubuntu-22.10-Sipeed-LicheeRV

关键词: Ubuntu,Sipeed LicheeRV, RISC-V

LLVM 15.0.1 发布,修复了近三十个漏洞

It’s been two weeks since the release of LLVM 15.0 and its sub-projects like Clang 15.0 so per their rapid release rhythm, out today is LLVM 15.0.1 with the initial batch of fixes.

自‎‎LLVM 15.0 及其子项目(如 Clang 15.0)‎‎发布以来已经过去了两周,因此根据其快速发布的节奏,20 号,本周一发布了 LLVM 15.0.1。‎ ‎ ‎ ‎LLVM 15.0 引入了许多提高安全性的措施、针对最新规范开发的新的 C 和 C++ 功能、实验性的微软 HLSL /DirectX 支持、RISC-V 更新、更多 OpenMP 5.1 功能、用于调试信息的 HTTP 服务器、初始 SPIR-V 后端集成、AMDGPU GFX11 工作以及各种其他新的编译器功能。同时,在今天的 LLVM 15.0.1 中,则引入 32 处更新。这些更改包括许多随机修复,从解决 Clang 发现的问题到 Compiler-RT,clang-format,以及测试中发现的问题和其他更改。 ‎ ‎ ‎接下来,根据 LLVM 当前每两周发布一次的计划,将在两周内发布 LLVM 15.0.2。与此同时,下一个正在开发的主要功能版本 LLVM 16.0 将于明年三月左右首次亮相。‎

新闻出处,“LLVM 15.0.1 Released With Nearly Three Dozen Fixes”: https://www.phoronix.com/news/LLVM-15.0.1-Released

关键词: LLVM

OpenJDK Java 19 发布

Out today is OpenJDK Java 19 in its general availability form while adding a number of new features.

本周一推出了 OpenJDK Java 19 增加了许多新功能。‎‎Java 19 令人兴奋的变化包括: ‎ ‎ ‎ ‎- 推出针对 RISCV Linux 的 支持。‎ ‎ ‎ ‎- 推出外部函数和内存 API,该 API 允许与 Java 运行时之外的代码和数据进行互操作性,例如 Java 程序调用本机库和进程本机数据。‎目前处于 preview 阶段。 ‎ ‎ ‎- 同样处于 preview 阶段的还有虚拟线程功能,这是针对并发应用的轻量级线程实现。‎ ‎ ‎ ‎- 第四个处于孵化阶段的功能是用于矢量计算的 Java Vector API,该 API 在运行时实现中将使用基于 CPU 架构支持的矢量指令进行优化。‎ ‎ ‎ ‎- 另一个处于孵化中的功能是 Structured concurrency,用于简化 Java 多线程实现。‎ ‎ ‎ ‎- 其他更多‎有关 Java 19 更改,请访问 ‎‎jdk.java.net‎: https://jdk.java.net/19/release-notes 。‎

新闻出处,“OpenJDK Java 19 Released With RISC-V Linux Port, Foreign Function API”: https://www.phoronix.com/news/OpenJDK-Java-19-Released

关键词: OpenJDK, Java, RISC-V

联系我们

欢迎扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: