lwn.net 피드 구독하기
LWN.net is a comprehensive source of news and opinions from and about the Linux community. This is the main LWN.net feed, listing all articles which are posted to the site front page.
업데이트: 42분 14초 지남

[$] How to cope with hardware-poisoned page-cache pages

목, 2022/05/05 - 10:25오후
"Hardware poisoning" is a mechanism for detecting and handling memory errors in a running system. When a particular range of memory ceases to remember correctly, it is "poisoned" and further accesses to it will generate errors. The kernel has had support for hardware poisoning for over a decade, but that doesn't mean it can't be improved. At the 2022 Linux Storage, Filesystem, Memory-management and BPF Summit, Yang Shi discussed the challenges of dealing with hardware poisoning when it affects memory used for the page cache.

Security updates for Thursday

목, 2022/05/05 - 10:18오후
Security updates have been issued by Debian (firefox-esr), Fedora (firefox, java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk, java-latest-openjdk, recutils, suricata, and zchunk), Oracle (firefox and kernel), Red Hat (firefox), Scientific Linux (firefox), Slackware (mozilla, openssl, and seamonkey), SUSE (apache2-mod_auth_mellon, libvirt, and pgadmin4), and Ubuntu (dpdk, mysql-5.7, networkd-dispatcher, openssl, openssl1.0, sqlite3, and twisted).

[$] LWN.net Weekly Edition for May 5, 2022

목, 2022/05/05 - 12:05오후
The LWN.net Weekly Edition for May 5, 2022 is available.

[$] Modern Python performance considerations

목, 2022/05/05 - 7:34오전
There is a lot of work going on right now on speeding up Python; Kevin Modzelewski gave a presentation at PyCon 2022 on some of that work. Much of it has implications for Python programmers in terms of how to best take advantage of these optimizations in their code. He gave an overview of some of the projects, the kinds of optimizations being worked on, and provided some benchmarks to give a general idea of how much faster various Python implementations are getting—and which operations are most affected.

[$] A memory-folio update

수, 2022/05/04 - 10:36오후
The folio project is not yet two years old, but it has already resulted in significant changes to the kernel's memory-management and filesystem layers. While much work has been done, quite a bit remains. In the opening plenary session at the 2022 Linux Storage, Filesystem, Memory-management and BPF Summit, Matthew Wilcox provided an update on the folio transition and led a discussion on the work that remains to be done.

Security updates for Wednesday

수, 2022/05/04 - 10:33오후
Security updates have been issued by Debian (openjdk-17), Fedora (chromium and suricata), Oracle (mariadb:10.5), SUSE (amazon-ssm-agent, containerd, docker, java-11-openjdk, libcaca, libwmf, pcp, ruby2.5, rubygem-puma, webkit2gtk3, and xen), and Ubuntu (linux-raspi).

Firefox 100 released

수, 2022/05/04 - 9:09오전
Version 100.0 of the Firefox browser has been released. New features include video caption display on various proprietary sites, multiple-language spelling checking, invisible scrollbars, and more.

[$] An overview of structural pattern matching for Python

수, 2022/05/04 - 4:52오전
Python's match statement, which provides a long-sought C-like switch statement—though it is far more than that—has now been part of the language for more than six months. One of the authors of the series of Python Enhancement Proposals (PEPs) that described the feature, Brandt Bucher, came to PyCon 2022 in Salt Lake City, Utah to talk about the feature. He gave an overview of its history, some of its many-faceted abilities, a bit about how it was implemented, and some thoughts on its future, in a presentation on April 29, which was the first day of talks for the conference.

SystemTap 4.7 released

화, 2022/05/03 - 10:53오후
Version 4.7 of the SystemTap tracing system is out. "Enhancements to this release include: a new stap-profile-annotate tool, a new --sign-module module signing option, -d is now implied for processes specified with -c/-x".

Security updates for Tuesday

화, 2022/05/03 - 10:51오후
Security updates have been issued by Debian (jackson-databind, kernel, openvpn, and twisted), Fedora (xz), Mageia (chromium-browser-stable and curl), Oracle (vim and xmlrpc-c), Red Hat (gzip), Slackware (libxml2), SUSE (git, python39, and subversion), and Ubuntu (libvirt and mysql-5.7, mysql-8.0).

[$] NUMA rebalancing on tiered-memory systems

월, 2022/05/02 - 11:31오후
The classic NUMA architecture is built around nodes, each of which contains a set of CPUs and some local memory; all nodes are more-or-less equal. Recently, though, "tiered-memory" NUMA systems have begun to appear; these include CPU-less nodes that contain persistent memory rather than (faster, but more expensive) DRAM. One possible use for that memory is to hold less-frequently-used pages rather than forcing them out to a backing-store device. There is an interesting problem that emerges from this use case, though: how does the kernel manage the movement of pages between faster and slower memory? Several recent patch sets have taken differing approaches to the problem of rebalancing memory on these systems.

Hughes: fwupd 1.8.0 and 50 million updates

월, 2022/05/02 - 11:02오후
Richard Hughes announces the fwupd 1.8.0 release and notes that the associated Linux Vendor Firmware Service has now shipped a minimum of 50 million firmware updates.

Just 7 years ago Christian asked me to “make firmware updates work on Linux” and now we have a thriving client project that respects both your freedom and your privacy, and a thriving ecosystem of hardware vendors who consider Linux users first class citizens. Of course, there are vendors who are not shipping updates for popular hardware, but they’re now in the minority — and every month we have two or three new vendor account requests.


Security updates for Monday

월, 2022/05/02 - 10:23오후
Security updates have been issued by Debian (ffmpeg, ghostscript, libarchive, and tinyxml), Fedora (CuraEngine, epiphany, gzip, usd, vim, xen, and xz), Oracle (maven-shared-utils and qemu), Red Hat (gzip, python27-python and python27-python-pip, rh-maven36-maven-shared-utils, rh-python38-python, rh-python38-python-lxml, and rh-python38-python-pip, and zlib), Slackware (pidgin), SUSE (jasper, java-11-openjdk, libcaca, libslirp, mariadb, mutt, nodejs12, opera, and python-Twisted), and Ubuntu (libinput).

DeVault: Announcing the Hare programming language

월, 2022/05/02 - 8:34오전
Drew DeVault has announced the existence of a new programming language called "Hare".

Hare is a systems programming language designed to be simple, stable, and robust. Hare uses a static type system, manual memory management, and a minimal runtime. It is well-suited to writing operating systems, system tools, compilers, networking software, and other low-level, high performance tasks.


Willis: Engaging with the OSI Elections 2022.1

월, 2022/05/02 - 8:28오전
Nathan Willis took a long look at the Open Source Initiative's 2022 board election and wasn't entirely pleased with what he saw.

So it’s a troubling ballot to look at. There’s an ostensibly non-profit organization that’s an official OSI affiliate trying to run its CEO as an individual candidate while also running a second member (a board director) on the appropriate, affiliate ballot in the same election. There’s also two financial sponsors running candidates on the individual ballot, one of them (Red Hat) running two candidates at the same time for the two open seats.


Kernel prepatch 5.18-rc5

월, 2022/05/02 - 7:55오전
The 5.18-rc5 kernel prepatch is out for testing. "So if rc4 last week was tiny and smaller than usual, it seems to have been partly timing, and rc5 is now a bit larger than usual. But only a very tiny bit larger - certainly not outrageously so, and not something that worries me."

Two stable kernel releases

월, 2022/05/02 - 5:24오전
The 5.15.37 and 4.19.241 stable kernel updates have been released; each contains a relatively small number of important fixes.

Fedora project leader Matthew Miller weighs in (TechRepublic)

토, 2022/04/30 - 12:09오전
TechRepublic has published an interview with Fedora project leader Matthew Miller.

Basically, every modern language provides a lot of building blocks that usually come from other smaller open-source projects. These are libraries, and they do things like format text, handle images, connect to databases and deal with talking across the internet. Projects like Fedora or Debian used to work to try to package up every such library in our own format, made to work nicely with everything else.

Now, every new language — Rust, for example — comes with its own tools to manage these, and they don’t work nicely together with our old way. The sheer scale is overwhelming — for Rust alone, as I checked just now there are 81,541 such libraries. We can’t keep up with repackaging all of that into our own format, let alone that plus all of the other languages. We need to approach this differently in order to still provide a good solution to software developers.

I think a lot of that will need machine learning and automation … we’ll need to keep adjusting so we can provide the value that Linux distributions give users in trust, security and coherent integration at an exponential scale.


[$] The BPF allocator runs into trouble

금, 2022/04/29 - 10:58오후
One of the changes merged for the 5.18 kernel was a specialized memory allocator for BPF programs that have been loaded into the kernel. Since then, though, this feature has run into a fair amount of turbulence and will almost certainly be disabled in the final 5.18 release. This outcome is partly a result of bugs in the allocator itself, but this work also had the bad luck to trip some older and deeper bugs within the kernel's memory-management subsystem.

Security updates for Friday

금, 2022/04/29 - 10:12오후
Security updates have been issued by Fedora (dhcp, gzip, podman, rsync, and usd), Mageia (firefox/nss/rootcerts, kernel, kernel-linus, and thunderbird), Oracle (container-tools:2.0, container-tools:3.0, mariadb:10.3, and zlib), Red Hat (Red Hat OpenStack Platform 16.2 (python-twisted), xmlrpc-c, and zlib), SUSE (glib2, nodejs12, nodejs14, python-paramiko, python-pip, and python-requests), and Ubuntu (curl, ghostscript, libsdl1.2, libsdl2, mutt, networkd-dispatcher, and webkit2gtk).