Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - M index

CONFIG_MODULE_COMPRESS: Module compression

General informations

The Linux kernel configuration item CONFIG_MODULE_COMPRESS has multiple definitions:

Module compression found in kernel/module/Kconfig

The configuration item CONFIG_MODULE_COMPRESS:

Help text

Enable module compression to reduce on-disk size of module binaries. This is fully compatible with signed modules.

The tool used to work with modules needs to support the selected compression type. kmod MAY support gzip, xz and zstd. Other tools might have a limited selection of the supported types.

Note that for modules inside an initrd or initramfs, it's more efficient to compress the whole ramdisk instead.

If unsure, say N.

Compress modules on installation found in init/Kconfig

The configuration item CONFIG_MODULE_COMPRESS:

Help text

Compresses kernel modules when 'make modules_install' is run; gzip or xz depending on "Compression algorithm" below.

module-init-tools MAY support gzip, and kmod MAY support gzip and xz.

Out-of-tree kernel modules installed using Kbuild will also be compressed upon installation.

Note: for modules inside an initrd or initramfs, it's more efficient to compress the whole initrd or initramfs instead.

Note: This is fully compatible with signed modules.

If in doubt, say N.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - M index

Automatically generated (in year 2024). See also LKDDb sources on GitLab