Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-05-13 16:30
[$] Converting NFSD to use iomap and folios
Chuck Lever led a filesystem session at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit on the Linux NFS server, which is alsoknown as NFSD. He wanted to talk about converting the network filesystemto use iomap; that kind ofconversionwas the topic of the previous session atthe summit. Beyond that, he wanted to discuss using folios, which has beena frequent topic at recent LSFMM+BPF gatherings, including this year.
Security updates for Tuesday
Security updates have been issued by Debian (ghostscript), Fedora (apache-ivy, chromium, golang-github-schollz-croc, golang-github-schollz-mnemonicode, and webkitgtk), SUSE (amazon-ecs-init, dnsdist, libcap, python-tornado, terraform, and xmltooling), and Ubuntu (imagemagick, openldap, php7.4, php8.1, and screen).
[$] Documenting counted-by relationships in kernel data structures
The C language is expressive in many ways, but it still does not have waysto express many of the relationships between fields in a data structure.That gap can be at least partially filled, though, if one is willing tocreate and use non-standard extensions. The adoption of of thoseextensions, in the form of the __counted_by() macro, has beenmerged for the 6.5 kernel release, even though the compiler feature itdepends on has not yet been finalized.
Perl v5.38.0 released
Version 5.38.0 of the Perl language is out. "Perl 5.38.0 representsapproximately 12 months of development since Perl 5.36.0 and containsapproximately 290,000 lines of changes across 1,500 files from 100authors." Significant changes include a new class feature,Unicode 15.0 support, a new API for hooking into functions, and more; seethe5.38.0 perldelta page for details.
Security updates for Monday
Security updates have been issued by Debian (cups, gst-plugins-bad1.0, gst-plugins-base1.0, gst-plugins-good1.0, python3.7, and yajl), Fedora (chromium, kubernetes, pcs, and webkitgtk), Scientific Linux (open-vm-tools), SUSE (iniparser, keepass, libvirt, prometheus-ha_cluster_exporter, prometheus-sap_host_exporter, rekor, terraform-provider-aws, terraform-provider-helm, and terraform-provider-null), and Ubuntu (python-reportlab and vim).
Three 6.x stable kernels
The6.4.1,6.3.11, and6.1.37stable kernels have been released; each contains another set of importantfixes.
[$] The first half of the 6.5 merge window
The first days of the 6.5 merge window have been a bit calmer than usual,with "only" 4,000 non-merge changesets having been pulled into the mainlinerepository. Those changesets include a fair amount of significant work,though. Read on for LWN's summary of the first set of changes merged forthe next major kernel release.
What it takes to keep an enterprise 'Frankenkernel' alive (Register)
The Register reportsfrom Jii Benc's DevConf.cz talk on the making of the CentOS Streamkernel.
Security updates for Friday
Security updates have been issued by Debian (docker-registry, flask, systemd, and trafficserver), Fedora (moodle, python-reportlab, suricata, and vim), Red Hat (go-toolset and golang, go-toolset-1.19 and go-toolset-1.19-golang, go-toolset:rhel8, open-vm-tools, python27:2.7, and python3), SUSE (buildah, chromium, gifsicle, libjxl, sqlite3, and xonotic), and Ubuntu (linux, linux-allwinner, linux-allwinner-5.19, linux-aws, linux-aws-5.19, linux-azure, linux-gcp, linux-gcp-5.19, linux-hwe-5.19, linux-ibm, linux-kvm, linux-lowlatency, linux-oracle, linux-raspi, linux-starfive, linux-starfive-5.19, linux, linux-aws, linux-aws-5.15, linux-aws-5.4, linux-azure, linux-azure-5.15, linux-azure-5.4, linux-azure-fde-5.15, linux-bluefield, linux-gcp, linux-gcp-5.15, linux-gcp-5.4, linux-gke, linux-gke-5.15, linux-gkeop, linux-gkeop-5.15, linux-hwe-5.15, linux-hwe-5.4, linux-ibm, linux-ibm-5.4, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, linux-oracle, linux-oracle-5.15, linux-oracle-5.4, linux-raspi, linux-raspi-5.4, and linux-oem-6.1).
[$] Emacs for Android
The Emacs editor is not tied to the Linux kernel; indeed, it was createdsome years before Linux existed. The Emacs code base is intended to beportable, and the editor runs, with varying levels of support, on a widevariety of systems. Recently, an energetic developer has worked to extendthe set of supported systems to Android; the result is a working port, butwhether that port will be accepted into the Emacs mainline is the topic ofongoing conversation.
Security updates for Thursday
Security updates have been issued by Debian (chromium and maradns), SUSE (iniparser, kubernetes1.23, python-reportlab, and python-sqlparse), and Ubuntu (accountsservice and linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle, linux-raspi2, linux-snapdragon).
[$] LWN.net Weekly Edition for June 29, 2023
The LWN.net Weekly Edition for June 29, 2023 is available.
[$] JupyterLab 4.0: a development environment for education and research
JupyterLab is aweb-based development environment widely used by data scientists,engineers, and educators for data visualization, data analysis,prototyping, and interactive learning materials. The Jupyter community has recently announced therelease of JupyterLab4.0, introducing lots of new features and performanceimprovements to enhance its capabilities both in research and educationalsettings.
Stable kernel updates for Wednesday
The6.3.10,6.1.36,5.15.119,5.10.186,5.4.249,4.19.288, and4.14.320stable kernels have all been released; each contains another set ofimportant fixes.
Security updates for Wednesday
Security updates have been issued by Mageia (docker-docker-registry, libcap, libx11, mediawiki, python-requests, python-tornado, sofia-sip, sqlite, and xonotic), Red Hat (kernel, kernel-rt, kpatch-patch, libssh, libtiff, python27:2.7, python39:3.9, python39-devel:3.9, ruby:2.7, sqlite, systemd, and virt:rhel, virt-devel:rhel), SUSE (bind, cosign, guile1, lilypond, keepass, kubernetes1.24, nodejs16, nodejs18, phpMyAdmin, and sqlite3), and Ubuntu (etcd).
[$] Converting filesystems to iomap
A discussion that largely centered around the documentation ofiomap, which provides a block-mapping interface for modern filesystems,was led by Luis Chamberlain at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. There is an ongoing process ofconverting filesystems to use iomap, in order to leave buffer heads behind and to better support folios, sothe intent was to get feedback on the documentation from developers who areworking on those conversions. One of the concrete outcomes of the sessionwas a plan to move that documentation from its current location on theKernelNewbies wiki intothe kernel documentation.
Ekstrand: NVK update: Enabling new extensions, conformance status & more
Faith Ekstrand has providedan update on the status of the NVKVulkan driver for NVIDIA GPUs.
Security updates for Tuesday
Security updates have been issued by Debian (c-ares and libx11), Fedora (chromium and kubernetes), Red Hat (python3 and python38:3.8, python38-devel:3.8), and SUSE (amazon-ssm-agent, kernel, kubernetes1.24, libvirt, nodejs16, openssl-1_1, and webkit2gtk3).
McGrath: Red Hat’s commitment to open source
Red Hat's Mike McGrath respondsto the many criticisms aimed at the company since it changed its policyregarding RHEL source code.
[$] Development statistics for 6.4
The 6.4 kernel was releasedon June25 after a nine-week development cycle. By that point, 14,835non-merge changesets had been pulled into the mainline kernel, a slightincrease from 6.3 (14,424 changesets) but still lower than many otherdevelopment cycles. As usual, LWN has taken a look at those changesets,who contributed them, and what the most active developers were up to.
Security updates for Monday
Security updates have been issued by Debian (bind9 and owslib), Fedora (dav1d, dotnet6.0, dotnet7.0, mingw-dbus, vim, and wabt), and SUSE (cloud-init and golang-github-vpenso-prometheus_slurm_exporter).
The 6.4 kernel has been released
Linus has released the 6.4 kernel.
Kuhn: A Comprehensive Analysis of the GPL Issues With the Red Hat Enterprise Linux (RHEL) Business Model
Over on the Software Freedom Conservancy blog, Policy Fellow and Hacker-in-Residence Bradley M. Kuhn analyzes the recent changes to Red Hat Enterprise Linux (RHEL) source availability in light of the GPL. It contains some interesting information about two alleged GPL violations that came about because the company's business model is structured in a way that brings it too close to non-compliance with the license, he said:
[$] Removing the kthread freezer
The final day of the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit featured three separate sessions led byLuis Chamberlain (he also led a plenary onday two); the first of those was a filesystem session on the status of thekthread-freezer-removal effort. The kthread freezer is meant to helpfilesystems freeze their state in order tosuspend or hibernate the system, but since at least2015, the freezer has been targeted for removal. Thingsdid not change much a year later, nor by LSFMM in2018 when Chamberlain had picked up Jiri Kosina's removaleffort; this year, Chamberlain was back to try to push things along.
[$] Reports from OSPM 2023, part 3
The fifth conference on PowerManagement and Scheduling in the Linux Kernel (abbreviated "OSPM") washeld on April17 to19 in Ancona, Italy. LWN was not there,unfortunately, but the attendees of the event have gotten together to writeup summaries of the discussions that took place and LWN has the privilegeof being able to publish them. Reports from the third and final day of theevent appear below.
Security updates for Friday
Security updates have been issued by Debian (asterisk, lua5.3, and trafficserver), Fedora (tang and trafficserver), Oracle (.NET 7.0, c-ares, firefox, openssl, postgresql, python3, texlive, and thunderbird), Red Hat (python27:2.7 and python39:3.9 and python39-devel:3.9), Scientific Linux (c-ares), Slackware (cups), SUSE (cups, dav1d, google-cloud-sap-agent, java-1_8_0-openjdk, libX11, openssl-1_0_0, openssl-1_1, openssl-3, openvswitch, and python-sqlparse), and Ubuntu (cups, dotnet6, dotnet7, and openssl).
AlmaLinux's response to Red Hat's policy change
The AlmaLinux organization has posted a messagedescribing the impact of Red Hat's decision to stop releasing the source tothe RHEL distribution and how AlmaLinux will respond.
[$] Delegating privilege with BPF tokens
The quest to enable limited use of BPF features in unprivileged processescontinues. In the previous episode, anattempt to use authoritative Linux security module (LSM) hooks for thispurpose was strongly rejected by the LSM developers. BPF developer AndriiNakryiko has now returned with a new mechanism based on aprivilege-conveying token. That approach, too, has run into someresistance, but a solution for the strongest concerns might be in sight.
Security updates for Thursday
Security updates have been issued by Debian (avahi, hsqldb, hsqldb1.8.0, minidlna, trafficserver, and xmltooling), Oracle (.NET 6.0, .NET 7.0, 18, c-ares, firefox, kernel, less, libtiff, libvirt, python, python3.11, texlive, and thunderbird), Red Hat (c-ares, kernel, kernel-rt, kpatch-patch, less, libtiff, libvirt, openssl, and postgresql), Slackware (bind and kernel), SUSE (bluez, curl, geoipupdate, kernel, netty, netty-tcnative, ntp, open-vm-tools, php8, python-reportlab, rustup, Salt, salt, terraform-provider-aws, terraform-provider-null, and webkit2gtk3), and Ubuntu (bind9, linux-aws, linux-azure, linux-bluefield, linux-gcp, linux-gke, linux-gkeop, linux-ibm, linux-kvm, linux-oracle, linux-raspi, linux-azure, linux-gcp, linux-ibm, linux-kvm, linux-oracle, and linux-ibm).
[$] LWN.net Weekly Edition for June 22, 2023
The LWN.net Weekly Edition for June 22, 2023 is available.
[$] Merging copy offload
Kernel support for copy offload is a feature that has been floating aroundin limbo for a decade or more at this point; it has been implemented along the way, but never merged. The idea is that the hostsystem can simply ask a block storage device to copy some data within the deviceand it will do so without further involving the host; instead of reading data intothe host so that it can be written back out again, the device circumventsthat process. At the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit, Nitesh Shetty led a storage andfilesystem session to discuss the current status of a patch set that he andothers have been working on, with aneye toward getting something merged fairly soon.
Red Hat cutting back RHEL source availability
Red Hat has announcedthat public source releases will be restricted to CentOS Stream goingforward:
Seven more stable kernels
The6.3.9,6.1.35,5.15.118,5.10.185,5.4.248,4.19.287, and4.14.319stable kernel updates have all been released; each contains another set ofimportant fixes.
[$] Armbian 23.05: optimized for single-board computers
Running a Linux distribution on Arm-based single-board computers (SBCs)is still not as easy as on x86 systems because many Arm devices require avendor-supplied kernel, a patched bootloader, and other device-specificcomponents. One distribution that addresses this problem is Armbian, which offers Debian- andUbuntu-based distributions formany devices. The headline feature in the recent release, Armbian23.05, which came at the end of May, is a major rework of the buildframework that has been made faster and more reliable after three years ofdevelopment.
Security updates for Wednesday
Security updates have been issued by Debian (libfastjson, libx11, opensc, python-mechanize, and wordpress), SUSE (salt and terraform-provider-helm), and Ubuntu (firefox, libx11, pngcheck, python-werkzeug, ruby3.1, and vlc).
[$] Backporting XFS fixes to stable
Backporting fixes to stable kernels is an ongoing process that, in general,is handled by the stable maintainers or the developers of the fixes.However, due to some unhappiness in the XFS developmentcommunity with the process of handling stable fixes for that filesystem,a different process has come about for backporting XFS patches to thestable kernels. The three developers doing that work, Leah Rumancik, AmirGoldstein, and Chandan Babu Rajendra, led a plenary session at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit (with Rajendraparticipating remotely) to discuss that process.
The Rust Leadership Council
The Rust project has announcedthe formation of the Rust Leadership Council, which will take the place ofthe existing Core Team and Leadership Chat groups.
Security updates for Tuesday
Security updates have been issued by Debian (libxpm and php7.3), Fedora (chromium), Mageia (kernel, kernel-linus, and sysstat), Red Hat (c-ares), SUSE (libwebp), and Ubuntu (cups-filters, libjettison-java, and libsvgpp-dev).
DeVault: Reforming the free software message
Drew DeVault has announcedthe launch of a new web sitethat is intended to be a better introduction to the free-softwarecommunity.
[$] PostgreSQL reconsiders its process-based model
In the fast-moving open-source world, programs can come and go quickly; atool that has many users today can easily be eclipsed by something betternext week. Even in this environment, though, some programs endure for along time. As an example, consider thePostgreSQL database system, which traces itshistory back to 1986. Making fundamental changes to a large code basewith that much history is never an easy task. As fundamental changes go,moving PostgreSQL away from its process-oriented model is not a small one,but it is one that the project is considering seriously.
Security updates for Monday
Security updates have been issued by Debian (golang-go.crypto, maradns, requests, sofia-sip, and xmltooling), Fedora (chromium, iaito, iniparser, libX11, matrix-synapse, radare2, and thunderbird), Red Hat (c-ares, jenkins and jenkins-2-plugins, and texlive), SUSE (bluez, chromium, go1.19, go1.20, jetty-minimal, kernel, kubernetes1.18, kubernetes1.23, kubernetes1.24, libX11, open-vm-tools, openvswitch3, opera, syncthing, and xen), and Ubuntu (libcap2, libpod, linux, linux-aws, linux-aws-5.15, linux-azure, linux-azure-5.15, linux-azure-fde-5.15, linux-gcp, linux-gcp-5.15, linux-gke, linux-gke-5.15, linux-gkeop, linux-hwe-5.15, linux-ibm, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-oracle, linux-oracle-5.15, linux-raspi, linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.19, linux-kvm, linux-lowlatency, linux-oracle, linux-raspi, linux, linux-aws, linux-lowlatency, linux-raspi, linux-oem-5.17, linux-oem-6.1, pypdf2, and qemu).
Kernel prepatch 6.4-rc7
The 6.4-rc7 kernel prepatch is out fortesting. "Nothing particular stands out in the rc this week,unless you count the mptcp selftest changes that are about making the testswork on stable kernels too."
Registration for LPC 2023 is open
The registration for this year's Linux Plumbers Conference (LPC) is now open. It will be held November 13-15 in Richmond, Virginia in the US. The attend page has all of the details. Meanwhile, some of the calls for proposals are still open, though the microconferences CFP is closed; this year's proposed microconference topics are listed here. Those who want to attend should note:"As usual we expect to sell [out] rather quickly so don't delay your registration for too long!"
[$] Merging bcachefs
The bcachefs filesystem, and theprocess for getting it upstream, were the topicsof a session led remotely by Kent Overstreet, creator of bcachefs, at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. He has also discussed bcachefs inprevious editions of the summit, firstin2018 and at last year's event;in both of those cases, the question of getting bcachefs mergedinto the mainline kernel came up, but that merge has not happened yet.This time around, though, Overstreet seemed closer than ever to being ready to actually start that process.
[$] Reports from OSPM 2023, part 2
The fifth conference on PowerManagement and Scheduling in the Linux Kernel (abbreviated "OSPM") washeld on April17 to19 in Ancona, Italy. LWN was not there,unfortunately, but the attendees of the event have gotten together to writeup summaries of the discussions that took place and LWN has the privilegeof being able to publish them. Reports from the second day of the eventappear below.
Security updates for Friday
Security updates have been issued by Debian (chromium, openjdk-17, and wireshark), Fedora (iniparser, mariadb, mingw-glib2, perl-HTML-StripScripts, php, python3.7, and syncthing), Oracle (.NET 6.0, c-ares, kernel, nodejs, and python3.9), Slackware (libX11), SUSE (amazon-ssm-agent and chromium), and Ubuntu (gsasl, libx11, and sssd).
The faster-cpython plan for 3.13
The developers working on improving the speed of the CPython interpreterhave posteda plan describing their objectives for the Python 3.13 release. Thebiggest piece appears to be the tier-2optimizer, which will optimize larger chunks of Python code:"https://github.com/faster-cpython/ideas/issues/557".
[$] Scope-based resource management for the kernel
The C language does not provide the sort of resource-management featuresfound in more recent languages. As a result, bugs involvingleaked memory or failure to release a lock are relatively common inprograms written in C — including the kernel. The kernel project has neverlimited itself to the language features found in the C standard, though;kernel developers will happilyuse extensions provided by compilers if they prove helpful. It looks likea relatively simple compiler-provided feature may lead to a significantchange in some common kernel coding patterns.
[$] XFS online filesystem check and repair
Darrick Wong has been doing work on XFS onlinerepair for a number of years and things are getting to the point where most of the filesystem-internal workhas been completed and is under review. The work remaining mostly concernsthe user-space side to set up a periodic scan and repair cycle, so he wanted to discuss whatuser space needs from this kind of feature in a filesystem session at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit that he led remotely. The session maynot have gone quite as he hoped, as it got somewhat derailed by topics thatspilled over from the earlier session onunprivileged image mounts.
Security updates for Thursday
Security updates have been issued by Debian (webkit2gtk), Fedora (python-django-filter and qt), Mageia (cups, firefox/nss, httpie, thunderbird, and webkit2), Red Hat (.NET 6.0, .NET 7.0, c-ares, firefox, jenkins and jenkins-2-plugins, nodejs, nodejs:18, python3, python3.11, python3.9, and thunderbird), Scientific Linux (firefox and thunderbird), SUSE (frr, opensc, python3, and rekor), and Ubuntu (c-ares, glib2.0, libcap2, linux-intel-iotg-5.15, pano13, and requests).
...14151617181920212223...