[置顶] 泰晓 RISC-V 实验箱,配套 30+ 讲嵌入式 Linux 系统开发公开课
泰晓资讯·2 月 / 第三期 / 2025
“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。
Linux 内核最新消息
Linux 6.14 最新一期 RC 版本 rc4 发布了。这个 rc4 中没有什么特别突出的地方,主要是针对常用的驱动程序中的 bug 进行了修复。
https://www.kernel.org/ updated by 2025/02/27
分支类型 | 版本 | 发布时间 |
---|---|---|
mainline | 6.14-rc4 | 2025-02-23 |
stable | 6.13.4 | 2025-02-21 |
longterm | 6.12.16 | 2025-02-21 |
longterm | 6.6.79 | 2025-02-21 |
longterm | 6.1.129 | 2025-02-21 |
longterm | 5.15.178 | 2025-02-01 |
longterm | 5.10.234 | 2025-02-01 |
longterm | 5.4.290 | 2025-02-01 |
linux-next | next-20250226 | 2025-02-26 |
关键词: Linux
Linus Torvalds 就 Rust 和维护者角色表明了自己的态度
The Linux kernel mailing list drama around the Rust programming language use within the kernel continues… Linus Torvalds has largely refrained from the ongoing LKML discussions around a Rust policy for the Linux kernel and in-fighting between kernel developers and maintainers with differing views over Rust. This evening though Linus Torvalds did decide to chime in on the conversation.
围绕 Rust 编程语言在内核中的使用,Linux 内核邮件列表中的讨论仍在继续。Linus Torvalds 在很大程度上回避了有关 Linux 内核中 Rust 的使用政策以及内核开发人员和维护者之间对 Rust 持不同看法的讨论。不过,上周四 Linus Torvalds 决定就此事发表一下自己的观点。
上周资讯中我们介绍说 Linus Torvalds 将不顾维护者的反对而合并 Rust 内核代码,此外,在回应 Christoph Hellwig 的观点时,他进一步澄清了他的立场。我们知道担任 DMA 维护者角色的 Hellwig 一直反对在内核 DMA 子系统中引入 Rust 代码。Linus Torvalds 在相关回应中说,维护者在他们负责的内核模块中针对 Rust 开发可以有两种选择,要么积极参与,要么不干涉。但他们不能任意阻止 Rust 的开发工作。
Linus 的邮件原文链接:https://lore.kernel.org/rust-for-linux/CAHk-=wgLbz1Bm8QhmJ4dJGSmTuV5w_R0Gwvg5kHrYr4Ko9dUHQ@mail.gmail.com/。
新闻出处,“Linus Torvalds Clearly Lays Out Linux Maintainer Roles - Or Not - Around Rust Code”: https://www.phoronix.com/news/Torvalds-On-Rust-Maintainers。
关键词: Linux, Torvalds, Rust
Christoph Hellwig 辞去了 DMA mapping helper 维护者的角色
Following the recent Rust drama within the Linux kernel that came out in part because Christoph Hellwig expressed objections to Rust bindings for the DMA mapping helpers that he is a maintainer of, Hellwig has now stepped down as one of the DMA mapping helper maintainers.
最近 Linux 内核社区中围绕 Rust 的争论十分激烈,部分原因是 Christoph Hellwig 对他维护的 DMA mapping helper 引入 Rust bindings 表示反对。Hellwig 现在已经辞去了 DMA mapping helper 维护者的职务。
Linux 6.14 内核正在更新 DMA mapping helper 维护者信息。Christoph Hellwig 在取消自己作为该模块的维护者身份 的补丁中解释后继工作将由 Marek Szyprowski 独自承担。
而 Hellwig 并没有完全离开 Linux,他将继续担任 NVMe 驱动程序、NVMe target 驱动、personality handling 和FreeVXFS 文件系统(共同)维护者。
新闻出处,“Christoph Hellwig Steps Down From One Of His Kernel Roles Following Rust Drama”: https://www.phoronix.com/news/Hellwig-DMA-Helpers-Removed。
关键词: Linux, Hellwig, DMA
Linux 上 的 libinput 库终于支持 3 指拖动
Libinput as the open-source input handling library used by the modern Linux desktop both by Wayland compositors and the X.Org Server now has support for three-finger dragging.
Libinput 作为现代 Linux 桌面上一款开源的输入处理库,被 Wayland compositors 和 X.Org Server 使用,现在支持三指拖动。
Red Hat 的首席 Linux 输入专家 Peter Hutterer 本周一宣布,在不久的将来将会发布 libinput 1.28 版本,在此之前已经合并了对三指拖动的支持。
Peter 在博客文章中解释了这个功能,它允许通过在触摸板上用三根手指滑动进行拖动,原话如下:
“This is a long-requested feature that allows users to drag by using a 3-finger swipe on the touchpad. Instead of the normal swipe gesture you simply get a button down, pointer motion, button up sequence. Without having to tap or physically click and hold a button, so you might be able to see the appeal right there.
Now, as with any interaction that relies on the mere handful of fingers that are on our average user’s hand, we are starting to have usage overlaps. Since the only difference between a swipe gesture and a 3-finger drag is in the intention of the user (and we can’t detect that yet, stay tuned), 3-finger swipes are disabled when 3-finger dragging is enabled. Otherwise it does fit in quite nicely with the rest of the features we have though.”
新闻出处,“Linux’s libinput Input Library Finally Supports 3-Finger Dragging”: https://www.phoronix.com/news/libinput-3-Finger-Dragging。
关键词: libinput
Z3fold & Zbud 分配器可能在 Linux 6.15 中被移除
It’s looking like Linux 6.15 will be the kernel that does away with the Z3fold and Zbud allocators.
看起来 Linux 6.15 中将移除 Z3fold 和 Zbud 分配器。鉴于这些功能已经被标记为 deprecated。这次移除操作应该不会太令人惊讶。删除补丁将通过 Andrew Morton 的 “MM” 仓库提交给主线,除非在最后一刻有人提出任何反对意见。
需要解释一下的是,Zbud 是用于存储压缩页面的特殊用途分配器。Zbud 可以实现每个物理页最多存储两个压缩页。Z3fold 作为 Zbud 的衍生物,实现了每个物理页最多可以存储三个压缩页。
Zbud 和 Z3fold 自 Linux 6.13 以来已被弃用,因为它们的用户很少。用户应该转向 zsmalloc。Zsmalloc 的延迟曾经比 Zbud/Z3fold 差,但现在情况已不再如此,这些已弃用的分配器消耗的内存要多得多。
删除这两个功能后可以移除大约 2000 行代码。
新闻出处,“Z3fold & Zbud Allocators Likely To Be Removed In Linux 6.15”: https://www.phoronix.com/news/Linux-Dropping-Zbud-Z3fold。
关键词: Linux, Zbud, Z3fold
Linux 内核将移除 SystemV 文件系统
The SystemV file-system that implements Xenix FS, SystemV/386 FS, and Coherent FS is set to be removed from the Linux kernel. The SystemV file-system was orphaned back in 2023 while now is set to be removed entirely after developers realized the code was fundamentally broken.
实现了 Xenix FS、SystemV/386 FS 和 Coherent FS 的 SystemV 文件系统将从 Linux 内核中彻底删除。SystemV 文件系统在 2023 年被标记为 orphaned,而现在开发人员意识到这部分代码已经完全无法工作,所以将被完全删除。
来自 SUSE 的 Jan Kara 编写了相关补丁来删除 SystemV “SysV” 文件系统,清理的代码有大约 3400 行。Kara 在提交中给出的清理理由是,这部分代码自从 Big Kernel Lock “BKL” 时代就已经存在,到现在已经有二十年的历史,实际上已经无法正常运行,这个问题直到 2023 才被 syzbot 注意到并报告出来。这表明其实根本就没有人在使用这个文件系统。
预计在即将到来的 Linux 6.15 合并窗口中 SystemV 文件系统将被删除。
新闻出处,“SystemV Filesystem Being Removed From The Linux Kernel”: https://www.phoronix.com/news/Removing-SystemV-Filesystem。
关键词: Linux, SystemV, Filesystem
介绍一项 Linux 中正在实验的新技术 Lazy Unmap Flush
SK has been working on a Linux kernel feature dubbed Lazy Unmap Flush “LUF” to defer TLB flushes until folios have been unmapped and freed are eventually allocated again.
SK 一直在开发一种称为 Lazy Unmap Flush (简称 “LUF”)的 Linux 内核功能,用于延迟 TLB 刷新,直到 folios 被取消映射和释放后再次被分配。
启动这项 Lazy Unmap Flush 工作的原因是发现在采用分层内存的服务器上使用 CXL 内存时发生大量 TLB shootdown,最终导致迁移开销过大。
最新的结果显示,采用 LUF 补丁后产生的 TLB shootdown 中断减少了约 97%。此外,使用具有大型语言模型(large language model,简称 LLM)的 Llama.cpp 测试程序运行时将运行时间降低了约 4.5%。
最新的 Lazy Unmap Flush 补丁测试通过运行具有 140GB 内存的 AI LLM 推理工作负载来证明其稳定性,针对最新的 Lazy Unmap Flush 补丁的压力测试持续了一周,效果相当显著。
新闻出处,“Linux Lazy Unmap Flush “LUF” Reducing TLB Shootdowns By 97%, Faster AI LLM Performance”: https://www.phoronix.com/news/Linux-Lazy-Unmap-Flush。
关键词: Linux, Lazy Unmap Flush
zstd 1.5.7 发布,进一步提升压缩性能
Zstandard 1.5.7 was released a short time ago as the newest update to this widely-used compression algorithm backed by Meta. Zstd 1.5.7 packs more than 500 commits, including new performance optimizations and other enhancements.
Zstandard 不久前发布了 zstd 1.5.7 版,这是一种由 Meta 支持的广泛使用的压缩算法。Zstd 1.5.7 包含 500 多个提交,包括新的性能优化和其他增强功能。
在性能方面,Zstd 1.5.7 针对使用小数据块的情况带来了更好的压缩速度。采用 4KB 数据块时压缩速度提高了 10% 左右,而 32KB 数据块大小提高了 20% 左右,64KB 数据块大小提高了 12%,128KB 数据块大小提高了 5%。对于那些使用小数据块的人来说,更新后的 Zstd 好处很多。
针对字典的压缩性能也有所改进,通过 “–patch-from” 改进将性能提高 4.9 倍,针对 lage 文件的压缩率也同样有所改进。
Zstd 1.5.7 还为那些真正想要追求最大压缩率的人带来了新的 “–max ”压缩选项。此外,还修复了过去一年中的各种错误。
Zstd 1.5.7 可以从 GitHub (https://github.com/facebook/zstd/releases/tag/v1.5.7)下载。现在非常希望 Linux 内核树中的 Zstandard 实现能够及时更新到 Zstd 1.5.7。
新闻出处,“Zstd 1.5.7 Pushing Compression Performance Even Further”: https://www.phoronix.com/news/Zstd-Zstandard-1.5.7。
关键词: Zstd
联系我们
欢迎扫描二维码加微信联系我们:
猜你喜欢:
- 我要投稿:发表原创技术文章,收获福利、挚友与行业影响力
- 泰晓资讯:汇总一周技术趣闻与文章,查看「Linux 资讯」
- 知识星球:独家 Linux 实战经验与技巧,订阅「Linux知识星球」
- 视频频道:泰晓学院,B 站,发布各类 Linux 视频课
- 开源小店:欢迎光临泰晓科技自营店,购物支持泰晓原创
- 技术交流:Linux 用户技术交流微信群,联系微信号:tinylab
支付宝打赏 ¥9.68元 | 微信打赏 ¥9.68元 | |
![]() | ![]() 请作者喝杯咖啡吧 | ![]() |
Read Album:
- 泰晓资讯·3 月 / 第一期 / 2025
- 泰晓资讯·2 月 / 第二期 / 2025
- 泰晓资讯·2 月 / 第一期 / 2025
- 泰晓资讯·1 月 / 第二期 / 2025
- 泰晓资讯·1 月 / 第一期 / 2025
Read Related:
Read Latest:
- Linux 691
- Torvalds 2
- Rust 56
- Hellwig 1
- DMA 1
- libinput 1
- Zbud 1
- Z3fold 1
- SystemV 1
- Filesystem 1
- Lazy Unmap Flush 1
- Zstd 8