[$] Sharing memory for shared file extents

On the second day of the
2022 Linux Storage,
Filesystem, Memory-management and BPF Summit (LSFMM), Goldwyn Rodrigues
led a
combined filesystem and memory-management session on saving memory when
reading files that share extents. That kind of sharing can occur with
copy-on-write (COW) filesystems, reflinks, snapshots, and other features
of t

Link: lwn.net/Articles/895907/

Google: Protecting Android users from 0-Day attacks

Google blog entry looks at some zero-day Android exploits that were
detected and makes it clear what the stakes are.

We assess with high confidence that these exploits were packaged by
a single commercial surveillance company, Cytrox, and sold to
different govern

Link: lwn.net/Articles/896131/

[$] Improved error reporting for CPython 3.10—and beyond

In a fast-paced talk at PyCon 2022 in Salt Lake City,
Utah, Pablo Galindo Salgado described some changes he and others have made
to the error reporting for CPython 3.10. He painted a picture of a
rather baffling set of syntax errors reported by earlier interpreter
versions and how they have improved. This work is not done by any means,
he said,

Link: lwn.net/Articles/895587/

Security updates for Tuesday

Security updates have been issued by Debian (firefox-esr and openldap), Fedora (curl), Oracle (kernel and kernel-container), Red Hat (maven:3.5), SUSE (cacti, cacti-spine, firefox, go1.18, openldap2, python-requests, rsyslog, and slurm_20_11), and Ubuntu (firefox, htmldoc, libpng, libxfixes, libxrender, thunderbird, and vim).

Link: lwn.net/Articles/896114/

Alpine Linux 3.16.0 released

3.16.0 of the Alpine Linux distribution has been released. Significant
changes include a switch to tmpfs for the /tmp directory, the
splitting out of a number of NetworkManager plugins into separate packages,
the removal of Python 2, and a lot of updated packages; see <a

Link: lwn.net/Articles/896060/

[$] Statistics from the 5.18 development cycle

The 5.18 kernel was released
on May 22 after a nine-week development cycle. That can only mean
that the time has come to look at some of the statistics behind this
release, which was one of the busiest in a while. Read on for a look at
the 5.18 kernel, where the code in this rel

Link: lwn.net/Articles/895800/

Systemd 251 released

Systemd 251 is out. The list of changes includes an increase of the
minimum kernel version
to 4.15, use of C11 to build the program, increased use of filesystem ID mapping, and many other things;
see the announcement for all the details.

Link: lwn.net/Articles/896043/

Security updates for Monday

Security updates have been issued by Debian (admesh, condor, firefox-esr, libpgjava, libxml2, rsyslog, and thunderbird), Fedora (dotnet6.0, libarchive, php-openpsa-universalfeedcreator, thunderbird, and vim), Mageia (ffmpeg, kernel, kernel-linus, microcode, netatalk, nvidia-current, nvidia390, opencontainers-runc, postgresql, and ruby-nokogiri), Slackware (mariadb and m

Link: lwn.net/Articles/896032/

The 5.18 kernel has been released

Linus has released the 5.18 kernel.
"No unexpected nasty surprises this last week, so here we go with the
5.18 release right on schedule." Some of the headline changes in
this release include
the DAMOS memory-management interface,
a number of random-number-generator improvements,
the <a href

Link: lwn.net/Articles/895969/

LWN is now on Mastodon

For readers who want to follow our article stream on Mastodon, LWN now
(finally) has a presence in the Fosstodon community; you can find us at

Link: lwn.net/Articles/895898/

[$] Preserving guest memory across kexec

The final session in the memory-management track at the 2022 Linux Storage,
Filesystem, Memory-management and BPF Summit (LSFMM) was run remotely
by James Gowans and David Woodhouse. It was titled "user-space control of
memory mappings", with a subtitle of "letting guest memory and state
survive kexec". Some options were discussed, but the

Link: lwn.net/Articles/895453/

[$] Fixing a race in hugetlbfs

As the memory-management track at the 2022 Linux Storage,
Filesystem, Memory-management and BPF Summit (LSFMM) neared its
conclusion, Mike Kravetz ran a session remotely to talk about page
sharing with hugetlbfs, which is a special filesystem that provides access
to huge pages. (See this article se

Link: lwn.net/Articles/895540/

[$] get_user_pages() and COW, 2022 edition

The numerous correctness problems
with the kernel's
get_user_pages() functionality have been a fixture at the Linux
Storage, Filesystem, Memory-management and BPF Summit (LSFMM) for some
years. The 2022 event
did not break that tradition. The first-day di

Link: lwn.net/Articles/895439/

Security updates for Friday

Security updates have been issued by CentOS (kernel), Debian (ark, openldap, and thunderbird), Fedora (freetype and vim), Oracle (.NET 5.0, .NET 6.0, .NET Core 3.1, container-tools:3.0, glibc, kernel, rsync, and subversion:1.10), Scientific Linux (kernel), SUSE (dcraw, firefox, glib2, ImageMagick, kernel-firmware, libxml2, libyajl, php7, ucode-intel, and u

Link: lwn.net/Articles/895862/

Rust 1.61.0 released

1.61.0 of the Rust language has been released. Changes this time
around include more flexibility in main-program exit codes, a number of new
features for const functions, a number of newly stabilized APIs, and more.

Link: lwn.net/Articles/895814/

[$] Cleaning up dying control groups, 2022 edition

Control groups are a useful system-management feature, but they can also
consume a lot of resources, especially if they hang around on the system
after they have been deleted. Roman Gushchin described the problems that can result at the
2019 Linux Storage, Filesystem, Memory-management and BPF Summit (LSFMM);
he returned during the <a

Link: lwn.net/Articles/895431/

[$] CXL 2: Pooling, sharing, and I/O-memory resources

During the final day of the 2022 Linux Storage,
Filesystem, Memory-management and BPF Summit (LSFMM), attention in the
memory-management track turned once again to the challenges posed by the
upcoming Compute Express Link (CXL) technology. Two sessions looked at
different problems posed by CXL memory, which can come and go over the

Link: lwn.net/Articles/894626/

Huang: Rust: A Critical Retrospective

Andrew 'bunnie' Huang has posted an extensive review of
the Rust language derived from the experience of writing "over
100k lines of code.

Rust is a difficult language for authoring code because it makes
these "cheats" hard – as long as you have the discipline of not
using "unsafe" constructions to

Link: lwn.net/Articles/895773/

Security updates for Thursday

Security updates have been issued by Fedora (microcode_ctl, rubygem-nokogiri, and vim), Mageia (htmldoc, python-django, and python-oslo-utils), Red Hat (container-tools:2.0, kernel, kernel-rt, kpatch-patch, and pcs), SUSE (ardana-barbican, grafana, openstack-barbican, openstack-cinder, openstack-heat-gbp, openstack-horizon-plugin-gbp-ui, openstack-ironic, openstack-keys

Link: lwn.net/Articles/895771/

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

The LWN.net Weekly Edition for May 19, 2022 is available.

Link: lwn.net/Articles/894983/

Show older

A Mastodon instance for bots and bot allies.