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

基于泰晓RISC-V实验箱的Linux公开课
请稍侯

泰晓资讯·2 月 / 第一期 / 2023

unicornx 创作于 2023/02/02

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

Linux 内核最新消息

https://lkml.org/lkml/2023/1/29/315

在经历了相当庞大的 Linux 6.2-rc5 之后,考虑到由于圣诞节/新年假期大家都进入休假模式,Linus 已经计划将 Linux 6.2 的开发周期延长一周。本周 Linus 发布了 Linux 6.2 的第六个 RC,他发现这个版本的代码改动相对其他 RC 来说 “suspiciously small”。Linus 在 6.2-rc6 的发布公告中是这么评论的:

Here we are, one week later, and rc6 is out.

It’s suspiciously small, but who am I to look a gift horse in the mouth? I’ll take it and hope it’s not an aberration, but instead a sign that 6.2 is shaping up nicely. Call me optimistic, call me naive, but let’s enjoy it and hope the trend continues.

The diffstat looks pretty normal too, with various driver fixes (networking, gpu, i2c and x86 platform drivers stand out) and netfilter fixes leading the pack. But there’s the usual arch updates, random filesystem fixes, and misc other things going on too. The shortlog is appended for people who want to scan through the detailed overview.

I’ve already mentioned this a couple of times earlier: despite rc6 being nice and small, I expect to drag 6.2 out to an rc8 just because of the time lost to the holidays. But I’ll be much happier if we can keep the remaining rc’s nice and small. Ok?

假如 6.2 版本真的会有 rc8 的话,Linux 6.2 的稳定版预计将在 2 月 19 日发布。

https://www.kernel.org/ updated by 2023/02/02

分支类型版本发布时间
mainline6.2-rc62023-01-29
stable6.1.92023-02-01
stable6.0.19 [EOL]2023-01-12
longterm5.15.912023-02-01
longterm5.10.1662023-02-01
longterm5.4.2302023-01-24
longterm4.19.2712023-01-24
longterm4.14.3042023-01-24
longterm4.9.337 [EOL]2023-01-07
linux-nextnext-202302012023-02-01

关键词: Linux

有关挂接 eBPF 程序到 Linux 内核调度程序的补丁又更新了

Published back in November were a set of patches for allowing (e)BPF to extend the Linux kernel’s scheduler. That interesting work is continuing with Friday having brought a second revision to the patches.

早在十一月曾经发布有一组补丁,允许利用 (e)BPF 扩展 Linux 内核的调度器。这项有趣的工作仍在继续,上周该补丁发布了第二版。

通过编写 (e)BPF 程序对 Linux 内核的任务调度决策进行定制可以帮助开发人员更快地试验和探索新的调度策略,使得内核的调度策略更贴近实际应用的需要。Google 和 Meta 一直是这项工作的主要参与者之一。随着上周五发布的 “sched_ext” v2 补丁,代码已针对最新的 BPF 架构重新构建,对核心调度的支持现在也已到位,补丁中还包括了各种其他修复和改进。感兴趣的人可以查看 v2 补丁的修改获取更多详细信息。

新闻出处,“Patches Updated For Hooking eBPF Programs Into The Linux Kernel Scheduler”: https://www.phoronix.com/news/Linux-Scheduler-eBPF-v2-sched

关键词: Linux, eBPF

Linux 的新补丁为 RISC-V 提供了 ACPI 支持

A set of 24 Linux kernel patches today wire up the basic ACPI infrastructure support for the RISC-V processor architecture.

本周一,内核接收了一组含 24 个补丁的补丁集,针对 RISC-V 处理器架构实现了基本的 ACPI 基础支持。

Sunil V L 是一位来自 Ventana Micro Systems 的工程师,Ventana Micro Systems 是一家成立于 2018 年,目标是成为 “RISC-V 性能领导者” 的公司。Sunil V L 发布的这组 Linux 内核补丁,可以为 RISC-V 启用 Advanced Configuration and Power Interface (ACPI)。在过去的几年里,Ventana 公司一直致力于为 RISC-V 开发 ACPI。

Ventana 在 2021 年 RISC-V 峰会上的 PDF 演示文稿(https://static.sched.com/hosted_files/riscvsummit2021/e3/RISCVSummit_2021_ACPI_Sunil_final.pdf)提供了有关这项工作的更多背景信息。此外,我们还可以参考官方的 RISC-V ACPI platform 规范(https://github.com/riscv-non-isa/riscv-acpi),该规范定义了用于满足 RISC-V 服务器类平台的 ACPI 要求。

基于这 24 个补丁,对 ACPI 的支持已经在 QEMU 上进行了测试,而 Ventana 可能正在努力将服务器级 RISC-V 硬件推向市场,该硬件将使用 ACPI。

新闻出处,“New Patches Wire Up ACPI Support For RISC-V On Linux”: https://www.phoronix.com/news/ACPI-RISC-V-Linux-Patches

关键词: Linux, RISC-V, ACPI

LLVM 16.0-rc1 发布,带来了许多新功能特性

Following the LLVM 16.0 feature freeze and code branching earlier this week, LLVM 16.0.0-rc1 is now available as the first of at least three planned release candidates.

继上周早些时候 LLVM 16.0 功能冻结之后,LLVM 16.0.0 发布了第一个 rc1,在 16.0.0 稳定版本正式发布之前,至少会发布三个 RC 版本。

LLVM / Clang 16 带来了许多新功能,包括对 AMD Zen 4 的初步支持(仍然缺少调优),对 Intel Emerald Rapids 的支持,对Intel Meteor Lake 的支持,对 Intel Sierra Forest 和 Grand Ridge 的支持;在 back-end 上支持了 Xtensa 架构,为 OpenMP offloading 支持 JIT,针对 Flang,实现了 -Ofast-ffast-math,针对 RISC-V 实现了 -mcpu=native / -mtune=native,在 libc++ 中实现了许多新功能,针对 ELF 格式的 debug section 实现 Zstd 压缩。LLVM 现在默认使用C++17 构建,还支持了 Arm Neoverse V2,讲 LoongArch back-end 从实验特性转正,以及轻量 AVX 模式,以及各种其他增强功能。

LLVM 开发人员计划在 2 月 7 日左右发布 LLVM 16.0-rc2,在 2 月 21 日左右发布 LLVM 16.0-rc3,理想情况下在 3 月 7 日发布稳定版的 LLVM 16.0。

新闻出处,“LLVM 16.0-rc1 Brings New AMD & Intel CPU Support, Zstd Debug Sections, C++17 By Default”: https://www.phoronix.com/news/LLVM-16.0.0-rc1

关键词: LLVM

TornadoVM 0.15 发布, 现在支持在 Intel Arc 显卡上运行 Java

TornadoVM is an open-source plugin for OpenJDK and GraalVM that allows for running Java programs on heterogeneous hardware like GPUs and FPGAs. With today’s TornadoVM 0.15, it’s the first release now supporting discrete Intel Arc Graphics hardware.

TornadoVM 是一款基于 OpenJDK 和 GraalVM 的开源插件,允许在 GPU 和 FPGA 等硬件上运行 Java 程序。上周发布了 TornadoVM 0.15,它是目前第一个支持 Intel Arc 独显硬件的版本。

TornadoVM 支持面向 OpenCL,NVIDIA PTX 和 SPIR-V 的 Java/JVM 程序,可以支持在许多不同的设备上运行。除了常见的 CPU 外,还可以在集成的或者独立的 GPU,FPGA 上运行 java。

TornadoVM 已经支持 Intel 的集成显卡,但在新发布的 v0.15 版本中,它增加了对 Intel Arc Graphics 独立 GPU 的支持。此 TornadoVM 0.15 版本还带来了改进的 Linux 安装程序、改进的启动器和新的文档,此外还支持采用 Intel oneAPI Leve Zero 等新的 API 实现 large buffer 分配。当然还有各种错误修复。

对于那些不熟悉这个 OpenJDK / GraalVM 插件的人可以通过他们新的文档网站(https://tornadovm.readthedocs.io/en/latest/)或 https://www.tornadovm.org/ 了解有关开源项目的更多信息。

新闻出处,“TornadoVM 0.15 Released - Now Supports Running Java On Intel Arc Graphics”: https://www.phoronix.com/news/TornadoVM-0.15-Released

关键词: TornadoVM

GNU C 库 “glibc” 2.37 发布

As scheduled, version 2.37 of the GNU C Library “glibc” was released this morning.

按照计划,GNU C 库 “glibc” 的 2.37 版本于本周三早上发布。这个在 Linux 和其他平台上广泛使用的 libc 实现的新版本包括了许多错误修复以及一些新功能。这些亮点包括:

  • getent 工具现在支持 --no-addrconfig 选项。
  • 动态链接器的库搜索路径不再包括 “tls” 及其子目录,而且搜索路径也不会基于 AT_PLATFORM 从对应的子目录中加载 so。
  • 针对 CVE-2022-39046 的安全修复,即给 syslog 函数传递一个长度超过 1024 字节的输入字符串时,可以从堆中读取未初始化的内存。
  • 数十种不同的错误修复。

Glibc 2.37 将会被 Ubuntu 23.04,Fedora 38 和其他即将发布的 Linux 发行版采用。

新闻出处,“GNU C Library “glibc” 2.37 Released”: https://www.phoronix.com/news/Glibc-2.37-Released

关键词: glibc

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: