Linux 7.5 Finally Updating Zlib DEFLATE Code From The Late 1990s

The Linux kernel's in-tree ZlibDEFLATE code is used by various file-systems like Btrfs and F2FS for offering compression, the Crypto API, crash/panic diagnostics compression, and other areas. Yet that lib/zlib_deflate code within the kernel to now has been based on Zlib version 1.1.3. Zlib 1.1.3 debuted back in July of 1998. Finally for Linux 7.5 that in-kernel Zlib code is being updated against the latest upstream Zlib code. Greg Kroah-Hartman has named himself the Zlib in-kernel maintainer and pushing to update the in-tree code. Greg explained with the patch adding himself as maintainer: "I'm not "maintaining" the code, but I'll be responsible for syncing the in-kernel version with the upstream zlib changes as no one seems to have been paying attention to anything happening there for a very very long time." Indeed with Zlib 1.1.3 dating back to 1998. Following that maintainer entry, he went ahead and updated to zlib 1.1.4, zlib 1.2.0, zlib 1.2.0, etc... And finally making its way to Zlib 1.2.3. Zlib 1.2.3 is from 2005. In the individual updates each time for the Zlib DEFLATE code used by the kernel can help in bisecting should any regressions appear from the Zlib upgrades. The updated Zlib code is in char-misc-next as part of the char/misc subsystem. Now in char-misc-next, this long overdue Zlib DEFLATE upgrade should be merged once the Linux 7.5 merge window gets underway in late December.

Original Source

Read the full article at Phoronix →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.