AIGC@aigcrubbish · Post #306 · 10.04.2026 г., 14:14
[$] Removing read-only transparent huge pages for the page cache
Linux 内核中针对页缓存的只读透明大页支持即将被移除。该功能于 2019 年引入,开发者当时承诺将在“未来几个发布周期内”添加可写大页支持。然而六年多过去了,这一承诺并未实现。由于内存管理子系统的核心架构已发生重大变化,该功能已不再适用,因此将被删除。
原文链接:https://lwn.net/Articles/1066582/
#Linux#内核#内存管理#透明大页
#AIGC
Read more
AIGC@aigcrubbish · Post #232 · 05.03.2026 г., 18:24
[$] Reconsidering the multi-generational LRU
多代 LRU(MGLRU)是一种替代性的内存管理算法,于 2022 年底随 Linux 内核 6.1 版本合并。它承诺带来显著的性能提升和代码简化。然而,自那时起,MGLRU 的进展陷入停滞,且仍未在许多系统上启用。随着 2026 年 Linux 存储、文件系统、内存管理与 BPF 峰会(LSFMM+BPF)临近,多位内存管理开发者表示希望讨论 MGLRU 的未来。一些开发者正在寻求改进该子系统的方法,而另一位开发者则呼吁将其完全移除。
原文链接:https://lwn.net/Articles/1060967/
#Linux#内核#内存管理#MGLRU
#AIGC
Read more
AIGC@aigcrubbish · Post #203 · 19.02.2026 г., 17:13
[$] Modernizing swapping: virtual swap spaces
Linux内核的交换子系统虽然不受欢迎,但对性能至关重要。近期,该子系统正在进行多轮现代化改进。
之前的文章介绍了新增的“交换表”作为表示交换缓存状态的新方法,以及移除了用于跟踪交换空间的“交换映射”。然而,相关工作仍在继续。
Nhat Pham提交的新补丁系列旨在解决一系列交换相关问题。其核心方案是:用一个单一的“虚拟交换空间”来取代新引入的交换表结构。这一改动旨在简化设计并提升性能。
原文链接:https://lwn.net/Articles/1059201/
#Linux#内核#内存管理#交换空间
#AIGC
Read more
AIGC@aigcrubbish · Post #199 · 18.02.2026 г., 17:48
An Asahi Linux progress report
Asahi Linux 项目致力于在 Apple CPU 上实现 Linux 支持,近期发布了详细的 6.19 版本进展报告。
在过去 12 个月中,项目在上游合并补丁方面取得了显著进展。其补丁集已从 6.13.8 内核时的 1232 个补丁,减少至 6.18.8 内核时的 858 个。代码总行数也从 95,000 行缩减至 83,000 行。报告提到,补丁数量减少了 30%,而代码行数仅减少 15%,这反映出不同补丁的规模差异很大:有些是小修复,有些则包含数千行代码。
在所有补丁中,GPU 驱动程序的规模尤为突出。其本身就有 21,000 行代码(尚未计入仍在维护的下游 Rust 抽象层),几乎是 DCP 驱动程序的两倍,也是 ISP/网络摄像头驱动程序的三倍。目前,GPU 驱动程序的上游合并工作已经开始。
原文链接:https://lwn.net/Articles/1059339/
#Linux#AppleSilicon#开源开发#内核
#AIGC
Read more
AIGC@aigcrubbish · Post #159 · 27.01.2026 г., 17:34
The GNU C Library is moving from Sourceware
GNU C 库 (glibc) 项目将把其核心服务从 Sourceware 迁移至 Linux Foundation 托管的服务。维护者 Carlos O'Donell 表示,此举是为了满足改进工具链网络安全态势的要求,并解决关于保障全球高可用服务安全以及建立可持续、多元化赞助模式的系统性担忧。尽管 Sourceware 已开始进行一些关键的技术更改,但迁移决定已经做出。这一讨论已持续较长时间。
原文链接:https://lwn.net/Articles/1056206/
#开源#GNU#Linux#软件开发#基础设施
#AIGC
Read more
Linuxgram 🐧@linuxgram · Post #18690 · 06.05.2026 г., 16:02
📰 Intel's Vulkan Linux Driver Now Supports Device Generated Commands "DGC"
Exciting yesterday in the land of Intel's open-source Vulkan driver "ANV" for Linux systems was introducing experimental support for descriptor heaps with the VK_EXT_descriptor_heap extension. Today there is another separate exciting development for this open-source Intel driver: Vulkan device generated commands are finally merged!...
🔗 Source: https://www.phoronix.com/news/Intel-ANV-Vulkan-DGC
#intel#linux#opensource
Linuxgram 🐧@linuxgram · Post #18527 · 22.04.2026 г., 14:05
📰 Intel Media Driver 2026Q1 Continues Nova Lake S Enablement
Intel today published their official quarterly feature release to their open-source Media Driver providing Video Acceleration API (VA-API) support on Linux...
🔗 Source: https://www.phoronix.com/news/Intel-Media-Driver-2026Q1
#intel#linux#opensource
Linuxgram 🐧@linuxgram · Post #18346 · 08.04.2026 г., 07:44
📰 Jay: A New Open-Source Shader Compiler Being Developed For Intel GPUs
Jay is a new open-source shader compiler being developed for Intel's open-source OpenGL and Vulkan Linux drivers. Ultimately this Jay shader compiler should help in delivering better Linux graphics performance with modern Intel hardware...
🔗 Source: https://www.phoronix.com/news/Intel-Jay-Mesa-Shader-Compiler
#linux#opensource#intel
AIGC@aigcrubbish · Post #153 · 23.01.2026 г., 21:37
[$] Filesystem medley: EROFS, NTFS, and XFS
文件系统领域问题虽已明确,但总有开发者追求更优方案。Linux内核中的文件系统开发持续高速推进。近期动态包括:EROFS文件系统即将新增实用的页面缓存共享功能;新版NTFS实现即将推出;XFS可能引入自我修复的基础架构。
原文链接:https://lwn.net/Articles/1055062/
#Linux#文件系统#内核开发#技术动态
#AIGC
Read more
AIGC@aigcrubbish · Post #158 · 27.01.2026 г., 17:06
[$] Implicit arguments for BPF kfuncs
Linux 内核的 kfunc 机制允许 BPF 程序直接调用内核函数。目前内核中有超过 300 个 kfunc,功能涵盖字符串处理(如 `bpf_strnlen()`)到自定义调度器(如 `scx_bpf_kick_cpu()`)等。
有时,这些 kfunc 需要访问 BPF 程序无法直接获取的上下文信息,因此无法通过参数传递。Ihor Solodrai 提交的“隐式参数”补丁集旨在解决这个问题,它允许 kfunc 隐式地接收额外的上下文参数。
原文链接:https://lwn.net/Articles/1055559/
#Linux#内核#BPF#kfunc
#AIGC
Read more
http://www.djangocrew.com/blog/how-startstopget-google-compute-instance-python/
In this post we gonna tell you about How to start/stop/get for the #google compute instance with python.
Sometimes we don’t want (or need) a compute engine instance running 24hs every day but we need to run #task/s periodically. To solve this we can have an app engine task runing using cron service to start the VM instance. Once the VM has started, it can have a startup script that runs the actual task it was needed for and then stops the machine.
#REST#Linux#Windows#requests
Linuxgram 🐧@linuxgram · Post #18677 · 05.05.2026 г., 13:28
📰 Intel Drivers With Mesa 26.2 Ready With Xe In Linux 7.1 To Better Handle vRAM Pressure
Merged to the Intel Xe kernel graphics driver with Linux 7.1 is an addition to improve the video RAM memory pressure or out-of-memory behavior for Intel graphics with dedicated video memory. Introduced is support for purgeable buffer objects via a new user-space API to provide usage hints for enhancing what is purged under vRAM pressure. Merged this week to Mesa 26.2-devel is support for the Intel Mesa drivers to make use of this new interface...
🔗 Source: https://www.phoronix.com/news/Intel-Mesa-26.2-Memory-Pressure
#intel#kernel#linux