KernelNewbies:

Linux 5.17 changelog

Summary:

1. Prominent features

1.1. Support recursive id-mapped mounts

Linux 5.12 added support for id-mapped mounts, that is, creating a mount of an existing file system with the user and group IDs mapped to different ones. This is very useful for containers, where you might want to mount a directory with some random user ID as the user ID expected by the container. This feature, however, required that the base file system was a file system that was not id-mapped itself. This release supports recursive id-mapped mounts.

1.2. BPF CO-RE support and other improvements

The nature of BPF programs makes hard for them to be portable: The position of a member in a data structure can change depending from version to version and even on the same kernel depending on the compiler options. This requires compiling BPF programs in the target computer. In order to make BPF programs more portable, a few features are required; some have already been merged, like BTF, which was introduced in Linux 4.18 and provides type information of all kernel data structures. This release introduces "CO-RE" -Compile Once, Run Everywhere- support. Along with other pieces in the userspace BPF infrastructure, this helps to create BPF programs that can be run in different kernels without requiring compilation.

Recommended article: BPF CO-RE reference guide.

This release also adds the bpf_loop helper, which helps to move loop logic of BPF programs into the kernel and thereby guarantee that the loop will always terminate

Recommended article: A different approach to BPF loops

2. Core (various)

3. File systems

4. Memory management

5. Block layer

6. Tracing, perf and BPF

7. Virtualization

8. Cryptography

9. Networking

10. Architectures

10.1. ARM

KernelNewbies: Linux_5.17 (last edited 2022-03-16 22:06:57 by diegocalleja)