Linus Torvalds has announced the release of the Linux 5.9 kernel. What's new?



Only two months have passed since the release of the Linux 5.8 kernel, which was called the "greatest" ", and Torvalds has already published a new release, this time version 5.9 .



According to journalist Michael Larabel, the kernel code is 20.49 million lines, 3, 58 million lines of comments and 3.72 million blank lines The number of files with source code has reached 59 thousand But ok, all these are quantitative characteristics. What's new in the kernel? Let's see.



Hardware



  • For the RISC-V architecture, the developers have added support for kcov -, a debugfs interface for analyzing kernel code coverage, plus a kmemleak memory leak detection system, stack protection, jump marks and tickess operations.
  • ARM ARM64 schedutil . , schedutil cpufreq. .
  • Intel Rocket Lake Intel Xe DG1.
  • amdgpu GPU AMD Navi 21 (Navy Flounder) Navi 22 (Sienna Cichlid). , UVD/VCE GPU Southern Islands (Radeon HD 7000). GPU AMD β€” 2,71 .
  • Nouveau CRC.
  • , , Pine64 PinePhone v1.2, Lenovo IdeaPad Duet 10.1, ASUS Google Nexus 7, Acer Iconia Tab A500, Qualcomm Snapdragon SDM630 ( Sony Xperia 10, 10 Plus, XA2, XA2 Plus XA2 Ultra), Jetson Xavier NX, Amlogic WeTek Core2, Aspeed EthanolX, NXP i.MX6, MikroTik RouterBoard 3011, Xiaomi Libra, Microsoft Lumia 950, Sony Xperia Z5, MStar, Microchip Sparx5, Intel Keem Bay, Amazon Alpine v3, Renesas RZ/G2H.




  • , xtensa csky, seccomp.
  • Clang (CONFIG_INIT_STACK_ALL_ZERO) , ( -ftrivial-auto-var-init=zero) .
  • capability- AP_CHECKPOINT_RESTORE, .
  • GCC 11 , KCSAN (Kernel Concurrency Sanitizer), . , GCC.
  • 32- , Xen. 64- .




  • GPL- , GPL. .
  • kcompactd , , . 70-80 , .
  • Zstandard (zstd).
  • x86 FSGSBASE, FS/GS .
  • allow_writes, MSR- . , , Β« Β» .
  • / io_uring , .
  • , CPU.
  • . .
  • CPU sysctl sched_uclamp_util_min_rt_default.
  • FAN_REPORT_NAME FAN_REPORT_DIR_FID fanotify. FID , .
  • β€” slab (slab memory controller). 30-45% slab , .




  • rescue Btrfs. . , , CRC32c.
  • inline- (Inline Encryption) ext4 F2FS. .
  • XFS inode (flush) . . - , inode.
  • Ext4 Β« Β» . .
  • SCSI inline- .
  • md/raid5 /sys/block/md1/md/stripe_size STRIPE-.




  • Netfilter .
  • nftables , .
  • nftables API netlink , .
  • BPF , (map) .
  • BPF- BPF_PROG_TYPE_SK_LOOKUP , .
  • PRP (Parallel Redundancy Protocol). Ethernet .
  • MPTCP (MultiPath TCP). , TCP TCP- c , IP-.


According to statistics, the new version contains 16074 fixes from 2011 developers. The total size of the patch is 62 MB. 14,548 files changed, 782,155 lines of code added, 314,792 lines removed. Approximately 45% of the changes are related to drivers, 15% to code updates for hardware architectures, 13% to networking, 3% to file systems, and another 3% to internal kernel subsystems.



Traditionally, the Free Software Foundation in Latin America has offered a version of the completely free 5.9 kernel - Linux-libre 5.9-gnu . There are no proprietary firmware elements and drivers in it.






All Articles