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

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

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

unicornx 创作于 2021/10/14

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

Linux 内核最新消息

https://lkml.org/lkml/2021/10/10/325

Linus Torvalds 本周初推出了 Linux 5.15-rc5 内核版本,目前该版本的测试状态看起来很顺利,有望在几周内按时发布。

Linus 在 5.15-rc5 的发布邮件中写道,"So things continue to look quite normal, and it looks like the rough patch (hah!) we had early in the release is all behind us. Knock wood. The commit stats look normal for an rc5, and the diffstat is fairly regular too." 看起来项目进展还算顺利,虽然该版本的早期几个 RC 版本给大家带来了一些小麻烦,不过这一切已经成为了过去时了。过去一周中合入的新补丁也一切正常。

根据接下来几周的 RC 和测试情况,Linux 5.15 的稳定版计划会在 11 月初左右发布。该版本也将成为 2021 年的最后一个主要稳定版本。

https://www.kernel.org/

分支类型版本发布时间
mainline:5.15-rc52021-10-11
stable:5.14.122021-10-13
stable:5.13.19 [EOL]2021-09-18
longterm:5.10.732021-10-13
longterm:5.4.1532021-10-13
longterm:4.19.2112021-10-13
longterm:4.14.2502021-10-09
longterm:4.9.2862021-10-09
longterm:4.4.2882021-10-09
linux-next:next-202110132021-10-13

关键词: Linux

近期 Linux 内核的重要补丁(节选)

Architecture-specific

Core kernel

Documentation

关键词: Linux

DAMON 功能提升,可以对物理内存地址空间进行监控

One of many exciting additions with the forthcoming Linux 5.15 kernel is DAMON landed as a data access monitoring framework. DAMON opens up new possibilities around proactive reclamation of system memory and other interesting features. Currently though it’s limited to monitoring the virtual address space of the kernel but a new set of patches out allow for physical address space monitoring as well.

即将推出的 Linux 5.15 内核拥有众多令人兴奋的新增功能,其中之一是加入了 DAMON,可以用于作为数据访问监控的框架。DAMON 的加入为实现主动回收系统内存(proactive reclamation of system memory)和其他有趣的功能开辟了新的可能性。目前,虽然它仅限于监控内核的虚拟地址空间,但一组新的补丁也允许我们用它来监控物理地址空间。

SeongJae Park 本周二发布了一个新的补丁集,以继续早先关于物理内存地址空间监控的 “request for comments”。 DAMON 被设计为可扩展并可以处理不同的地址空间,因此自然也就可以支持监控物理内存地址空间,这个改进使得这个内核框架看上去更通用了。

对这个补丁感兴趣的同学可以访问这里:https://lkml.org/lkml/2021/10/12/996 以了解所有有趣的技术细节。

新闻出处,“DAMON Extended To Offer Physical Memory Address Space Monitoring” https://www.phoronix.com/scan.php?page=news_item&px=DAMON-Physical-Monitoring

关键词: Linux, DAMON

Linux Lab 发布 v0.8 正式版,带来多项特性和更新

Linux Lab 于 6 月初发布了 v0.7 正式版本,同步发布了 Cloud Lab v0.5。经过 4 个月的开发,本次发布 v0.8,新增 LLVM/Clang, Rust 和 openEuler 支持,同步发布 Cloud Lab v0.6,并升级 Docker 镜像。期间,Linux Lab 实验盘(Linux Lab Disk)进一步新增了 Deepin 20.2, Fedora 34 和 Manjaro 系统支持。

  • v0.8
    • 镜像中新增 mipsel 4.3/4.7 编译器
    • 90% 的开发板内核版本升级到 v5.13
    • 新增 linux 和 buildroot targets,未来直接允许使用 pkg 的名字作为任务目标
  • v0.8 rc3
    • 新增 Rust for Kernel 开发支持
    • 新增 openEuler Kernel 开发支持
    • 新增 LLVM/Clang 编译支持,make kernel LLVM=1
    • 新增 rust 环境安装脚本
    • Pocket Linux Disk 和 Linux Lab Disk 相继支持 Fedora
  • v0.8 rc2
    • Pocket Linux Disk 和 Linux Lab Disk 相继支持 Manjaro
    • 早期文档中描述的更新步骤较重,替换为更为轻量级的更新步骤
    • 修复 MacOS 上的 i386/pc 支持
    • 进一步清理 rootfs 各种格式的依赖关系
    • 进一步优化 make debug,确保 debug 基于最新的改动
    • 清理不必要的 1234 端口映射,该部分可以让用户按需开启
  • v0.8 rc1
    • 发布了首支 Pocket Linux Disk
    • Pocket Linux Disk 和 Linux Lab Disk 相继支持 Deepin

新闻出处,“Linux Lab 发布 v0.8 正式版,带来多项特性和更新” https://tinylab.org/linux-lab-v0.8/

关键词: Linux Lab

Loongson 为 Linux 发布最新补丁支持 LoongArch

Chinese vendor Loongson continues working on their Linux kernel patches enabling the LoongArch processor ISA as their fork from MIPS. While early on when copying existing MIPS open-source code they were quick to call their new ISA “not MIPS”, in these later patch series they continue to refer to their ISA as “a bit like MIPS or RISC-V.”

LoongArch 今年夏天推出了他们的 Loongson 3A5000 处理器,从那时起,他们的工程师一直致力于将对 LoongArch 的支持纳入主线内核。由于 Loongson 在某些领域只是简单复制了现有的 MIPS 代码,这使得内核上游的维护人员感到有些不满。

Loongson 最近开始为他们的 ISA 提供一些文档来表明它不是针对 MIPS 的简单复制,而是基于它进行了各种更改。今天早上发布的是 LoongArch 的 v5 补丁。通过这些新补丁,代码基于最新的上游 Linux 5.15 状态进行了各种修复,调整了系统调用和 ptrace 代码,以及其他各种更改。

在这个特定的补丁系列中,大约有 23k 行新的内核代码,包括文档和 Kconfig 更改。

更多介绍请阅读新闻出处,“Loongson Volleys Latest Patches For LoongArch Linux Support”: https://www.phoronix.com/scan.php?page=news_item&px=LoongArch-Linux-v5

关键词: Linux,Loongson

微软在 Windows 11 商店内发布 WSL 预览版

Those running Microsoft’s recently released Windows 11 will now be able to find the Windows Subsystem for Linux (WSL) available from within the Microsoft Store for easier setting up of this Linux-based environment.

那些运行 Microsoft 最近发布的 Windows 11 的用户现在可以在 Microsoft Store 中找到适用于 Linux 的 Windows 子系统 (WSL),以便更轻松地设置这个基于 Linux 的环境。

微软现在正在 Microsoft Store 中提供 WSL 本身,而不是像现在那样需要在 “Turn Windows Features On/Off” 区域内启用可选组件。

至于为什么要改变当前的工作方式,将 WSL 转移到 Microsoft Store 去发布,Craig Loewen 评论说:"This change moves those binaries from being part of the Windows image, to instead being part of an application that you install from the Store. This decouples WSL from your Windows version, allowing you to update through the Microsoft Store instead. So now once new features like GUI app support, GPU compute, and Linux file system drive mounting are developed, tested and ready for a release you will get access to it right away on your machine without needing to update your entire Windows OS, or going to Windows Insider preview builds.",看来微软的想法是将 WSL 从 Windows OS 中解耦出来,允许我们改为通过 Microsoft Store 进行更新,而无需更新整个 Windows 操作系统,也无需安装 Windows Insider 预览版。

目前,Microsoft Store 中的此 WSL 被视为 “预览版(preview)”,在此版本中,WSLg 现在捆绑在内部以提供图形支持,wsl.exe 命令具有新的挂载功能,它利用基于 Linux 5.10.60 LTS 内核,以及其他各种增强功能。

有关通过 Microsoft Store 在 Windows 11 中对 WSL 进行的这些更改的更多详细信息,请参阅 Microsoft 开发人员博客文章(https://devblogs.microsoft.com/commandline/a-preview-of-wsl-in-the-microsoft-store-is-now-available/)。

新闻出处,“Microsoft Publishes WSL Preview Inside the Windows 11 Store”: https://www.phoronix.com/scan.php?page=news_item&px=Microsoft-Windows-11-WSL-Store

关键词: Microsoft, WSL

Debian 11.1 发布,包含了首批修复

Debian 11 ”Bullseye” debuted back in August as the latest major release for this popular community Linux distribution. Today it’s been succeeded by Debian 11.1.

Debian 11 “Bullseye” 作为这个社区流行的 Linux 发行版的最新主要版本于 8 月首次亮相。上周末 9 日被 Debian 11.1 接替了。

与 Debian 的其他小版本一样,Debian 11.1 只更新了软件包集合,主要为平台提供各种错误和安全修复。有一些新的上游稳定版本包,例如较新的 Linux 5.10.x 版本,但在大多数情况下,除了安全相关的工作之外,这些更改相对不是很突出。

新闻出处,“Debian 11.1 Released With Initial Batch Of Fixes”: https://www.phoronix.com/scan.php?page=news_item&px=Debian-11.1-Released

关键词: Debian

OpenSSL 3.0 正式发布

After many development snapshots and three years worth of work, OpenSSL 3.0 is now available as a major update to this widely-used SSL library.

经过三年的开发工作,OpenSSL 3.0 终于发布了,作为这个广泛使用的 SSL 库的最新更新,与 OpenSSL 1.1 相比,OpenSSL 3.0 具有更大的可扩展性、各种代码清理和弃用以及架构改进。OpenSSL 3.0 还切换到采用 Apache 2.0 许可证进行分发。

OpenSSL 3.0 中引入如下改进:迁移到 provider-based 的架构,以提供更大的灵活性;libcrypto 提供 HTTP/HTTPS 客户端,支持 Linux 内核 TLS;完全 “pluggable” 的 TLSv1.3 组;新的编码器和解码器支持;完整的 Certificate Management Protocol(CMP) 实现;新 API 和对内核 TLS 的集成支持是 OpenSSL 3.0 的众多更改之一。

新闻出处,“OpenSSL 3.0 Officially Released”: https://www.phoronix.com/scan.php?page=news_item&px=OpenSSL-3.0-Released

关键词: OpenSSL

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: