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

泰晓Linux实验盘,即刻上手内核与嵌入式开发
请稍侯

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

unicornx 创作于 2021/04/16

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

Linux 内核最新消息

https://lkml.org/lkml/2021/4/11/417

Linux 5.12-rc6 内核的标签是 “小”,但最新的发布的 Linux 5.12-rc7 又恢复了过去常见的 “比预期更大” 的状态。Linus 尚未决定这是否意味着需要进行额外一周的测试,如果这个版本测试的结果是足够稳定的话,或许我们不会看到 rc8。也就是说如果一切顺利,这将意味着 Linux 5.12 的正式版将在下周末亮相,否则将被 5.12-rc8 拖入加时赛。

https://www.kernel.org/

分支类型版本发布时间
mainline5.12-rc72021-04-11
stable5.11.142021-04-14
longterm5.10.302021-04-14
longterm5.4.1122021-04-14
longterm4.19.1872021-04-14
longterm4.14.2302021-04-10
longterm4.9.2662021-04-10
longterm4.4.2662021-04-10
linux-nextnext-202104142021-04-14

关键词: Linux

有关在 Linux 内核中增加对 Rust的支持正进入下一轮讨论

Last month the initial infrastructure for allowing the Rust programming language to be used within the Linux kernel landed in the Linux-Next tree for more widespread testing ahead of its possible inclusion in the mainline kernel. Now a “request for comments” has been started again on the kernel mailing list around the prospects of Rust code for the Linux kernel.

上个月,Linux-Next 仓库中加入了支持使用 Rust 为 Linux 内核开发组件的初始基础架构。现在,围绕使用 Rust 开发 Linux 内核的前景,有人在内核邮件列表中开启了一个 “RFC” 讨论。

内核开发人员 Miguel Ojeda 在 Linux 内核邮件列表上发起了此轮 RFC 讨论。冗长的帖子描述了相关开发人员坚信将 Rust 代码添加到内核会对改进内存安全带来好处之类。同时 RFC 中也承认人们反对它的原因,例如使用 Rust 会导致编译时间变慢,某些方面缺乏标准化,现有 Linux 内核基础架构更适用于 C 以及 Rust 对 LLVM 的依赖。

希望在内核中引入 “第二种开发语言” 的人正时刻期盼着它会发生。到目前为止,基础架构已经为在 x86_64ARM64PPC64LE 架构上的 Linux 内核中使用 Rust 做好了准备。其他架构对 Rust 的支持将逐步完善。

考虑到该 RFC 的时间安排以及 Linux 内核 5.13 的合并窗口很快就要发生,以及考虑到 Torvalds 对该 RFC 的评论只停留在早期阶段,我们很可能不会在 5.13 中看到对 Rust 的初始支持。但是,很有可能在 5.14 中看到 Rust 的身影。

新闻出处,”Rust Support In The Linux Kernel Undergoing Another Round Of Discussions” https://www.phoronix.com/scan.php?page=news_item&px=Rust-For-Linux-April-2021-RFC

关键词: Linux, Rust

VirtIO 蓝牙驱动程序有望进入 Linux 5.13

Queued up within Bluetooth-Next as of yesterday and in advance of the upcoming Linux 5.13 merge window is a VirtIO transport driver. This “virtio_bt” driver allows for Bluetooth HCI transport over VirtIO. This VirtIO addition was led by Intel engineers.

VirtIO 正在针对 Linux 的半虚拟化驱动程序(主要面向 KVM)进行开发,最新添加了对蓝牙的支持。

VirtIO 的 transport 驱动已经加入 Bluetooth-Next 仓库,这为即将到来的 Linux 5.13 合并窗口做好了合并准备。 该 “virtio_bt” 驱动程序支持通过 VirtIO 实现蓝牙 HCI 传输。 新增的 VirtIO 的修改由来自英特尔的工程师主导。

新闻出处,”VirtIO Bluetooth Driver On The Way To The Linux Kernel”: https://www.phoronix.com/scan.php?page=news_item&px=VirtIO-Bluetooth-Next

关键词: VirtIO, Linux

另一个等待加入 Linux 5.13 的功能是对 SiFive FU740 PCIe 的支持

Queued on Friday into the PCI “next” branch ahead of the Linux 5.13 merge window is a new PCIe host controller driver. The “pcie-fu740” driver is set to be introduced in Linux 5.13 in providing PCI Express controller support for this SoC. Obviously quite important especially if wanting to leverage the PCIe x16 slot for a graphics card or other connectivity.

可以说,迄今为止已经发布的最有趣的 RISC-V 开发板是来自 SiFive 公司的 搭载了 FU740 RISC-V SoC 芯片的 HiFive Unmatched。在 Linux 5.12 开发周期中,内核主线加入了对 SiFive FU740 SoC 的支持,在即将到来的 Linux 5.13 中,对该处理器的支持工作仍在继续。

近期,新的 PCIe 主机控制器驱动程序进入了 PCI 的 “next” 分支,这为进入 Linux 5.13 合并窗口做好了准备。在 Linux 5.13 中引入 “pcie-fu740” 驱动程序的目的正是为了对 FU740 芯片提供对 PCI Express 控制器的支持。显然这非常重要,特别是如果要利用 PCIe x16 插槽连接图形卡或其他扩展卡。

虽然 HiFive Unmatched 的跳票已经延迟了快有半年了,但至少由于这段延迟时间,Linux 内核上游有更多时间继续获得对 FU740 的支持。另外不得不提的是,HiFive 的售价依然坚挺在 665 美元,丝毫没有因为延迟有降价的迹象。

新闻出处,”SiFive FU740 PCIe Support Queued Ahead Of Linux 5.13”: https://www.phoronix.com/scan.php?page=news_item&px=SiFive-FU740-PCIe-Linux-5.13

关键词: SiFive, FU740, PCIe, Linux

SiFive 推出其首个 5nm RISC-V 处理器内核

SiFive’s OpenFive business unit announced today they have completed their first tape out of a RISC-V processor core using TSMC’s 5nm process.

SiFive 的 OpenFive 业务部门今天宣布,他们基于台积电(TSMC)的 5nm 工艺完成了一款新的 RISC-V 处理器核。该 5nm RISC-V SoC 的架构采用了 SiFive 7 系列处理器 IP 和 OpenFive HBM3 IP 子系统,主要面向 “高级 AI / HPC” 应用提供解决方案。

官方的新闻稿披露了更多详细信息,包括使用 SiFive E76 32 位 CPU。他们预计首批 5nm 芯片将于 2021 年第二季度上市。SiFive E76 是一个 32 位 RISC-V 内核,旨在在功耗受限的环境中提供高性能。有关 SiFive E76 的更多详细信息,请访问其 IP 产品页面: https://openfive.com/Pressrelease/openfive-tapes-out-soc-for-advanced-hpc-ai-solutions-on-tsmc-5nm-technology/

新闻出处,”SiFive Tapes Out Their First 5nm RISC-V Processor Core”: https://www.phoronix.com/scan.php?page=news_item&px=SiFive-RISC-V-5nm

关键词: SiFive, RISC-V, 5nm

Linux 5.13 中 EXT4 将对 Casefolding 启用加密功能

While EXT4 supports both case-folding for optional case insensitive filenames and does support file-system encryption, at the moment those features are mutually exclusive. But it looks like the upcoming Linux 5.13 kernel will allow casefolding and encryption to be active at the same time.

尽管当前的 EXT4 既支持对大小写敏感的文件名支持 case-folding,也支持文件系统加密,但目前这两个功能是互斥的。有趣的是,即将面世的 Linux 5.13 内核中将允许同时进行 case-folding 和加密。

本周有个叫做 “ext4: handle casefolding with encryption” 的补丁被合入了 EXT4 文件系统 “dev” 分支。详细的补丁信息请参考:https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?h=dev&id=471fbbea7ff7061b2d6474665cb5a2ceb4fd6500

新闻出处,”Casefolding With Encryption Enabled”: https://www.phoronix.com/scan.php?page=news_item&px=EXT4-Casefolding-With-Encrypt

关键词: Linux, EXT4, Casefolding, encryption

Multi-generational LRU 框架发布第二版,进一步增强 Linux 内核性能

Last month Google engineers proposed multi-generational LRU for Linux to enhance the kernel performance and today the work has advanced to a second version.

来自谷歌的 Yu Zhao 近日宣布了针对 Linux 内核的 Multigenerational LRU 框架的第二个版本。上一个版本的 multi-generational LRU 使得 Android 上的 low-memory kills 减少了 18%,cold starts 减少了 16%,在 Chrome OS 上 low-memory tab discards 减少了约 96%,out-of-memory kills 减少了59%。 Google 的测试发现,这种 Multi-generational LRU 框架大大降低了 CPU 的使用率。

新的第二个版本的补丁中,值得注意的变化包括解决缓冲 I/O 的衰退,并且在基准测试中,当在 bufferred I/O 模式下随机访问 SSD 设备时,IOPS 改善了 14%。

考虑到最新补丁的发布时间以及上游开发人员仍在测试和审查工作,multi-generational LRU 可能来不及进入即将到来的 Linux 5.13 ,让我们对这一令人振奋的工作保持关注。

新闻出处,”Multigenerational LRU Code Updated For Enhancing Linux Kernel Performance”: https://www.phoronix.com/scan.php?page=news_item&px=Multigenerational-LRU-v2

关键词: Linux, Multi-generational LRU

其他 Linux 内核的重要补丁该当(节选)

Architecture-specific

Core kernel

Development tools

关键词: Linux

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: