Kernel modules compression handling

From: Artem S. Tashkinov
Date: Mon Sep 09 2024 - 17:26:41 EST


Hello,

Please correct me if I'm wrong but it looks like the way modules
installation is currently handled in the Linux kernel, first .ko files
are copied to the destination directory and then the chosen compressor
is executed on top of them.

I wonder if this could be changed such a way, so that the installation
script (Makefile?) applied compression on the fly without again copying
.ko files.

All the three compressors supported by the Linux kernel support piping,
so it shouldn't be an issue. I'd love to write a patch myself but I'm
probably too stupid for that.


Best regards,
Artem