Linux core release 5.18

After two months of development, Linus Torvalds presented the release of the nucleus Linux 5.18 . Among the most noticeable changes: a high cleaning of outdated functionality was carried out, the outdated REISERFS FS was announced, the events of tracing of user processes were implemented, supporting the mechanism of blocking the work of the Intel IBT exploites was added, the Memcpy () function is included in the FPRobe functions, the mechanism of tracking the FPRobe functions has been included. The performance of the problem planner on the CPU AMD Zen has been increased, the driver for controlling the functionality of the CPU Intel (SDS) is included, part of the patches for the restructuring of the header files is integrated, the application of the standard C11.

is approved by the application of the standard.

The new version adopted 16206 corrections from 2127 developers (in the last issue there were 14203 corrections from 1995 developers),
The size of the patch is 108 MB (the changes touched 14235 files, 1340982 code lines were added, 593836 lines were removed). About 44% of all changes presented in 5.18 are associated with devices drivers, approximately 16% of the changes are related to updating the code specific for hardware architectures, 11% are associated with network stack, 3% with file systems and 3% with internal nucleus subsystems.

basic innovations In the nucleus 5.18:

  • disk subsystem, input/output and file systems
    • In the BTRFS file system, supporting the compressed data is added when performing SEND and Receive operations. Earlier, when using Send/Receive, the sending side unpacked the data stored in compressed form, and the receiving re -squeezed before recording. In the nucleus 5.18, applications in the user space using Send/Receive calls are given the possibility of transmitting compressed data without re -parting. Functionality is implemented thanks to the new iOctl operations of BTRFS_IOC_ENCODED_READ and BTRFS_IOC_ENCODED_WRITE, which allows you to directly read and write information in Extents .

      In addition, FSYNC performance has been increased in BTRFS. Added the possibility of deduplication and implementation of Reflink (cloning metadata file with creating a link to existing data without actual copying) for the entire storage, not limited to mounting points.

    • in direct input/output mode (Direct I/O) ensured the possibility of access to encrypted files when using in FSCRYPT Inline shift, in which encryption and decryption operations are performed by the drive controller, not the nucleus. With normal encryption by the nucleus by access to encrypted files using Direct I/O, as it used to be impossible, since the file contact is carried out by bypassing the buffering mechanism in the nucleus.

/Media reports.