~registry/kmod/master

Viewing all changes in revision 1304.

  • Committer: Lucas De Marchi
  • Date: 2023-06-09 17:45:55 UTC
  • Revision ID: git-v1:30077bf1719eb9625b1c223c144b74285425d581
libkmod: Keep track of in-kernel compression support

When creating the context, read /sys/kernel/compression to check what's
the compression type supported by the kernel. This will later be used
when loading modules to check if the decompression step has to happen in
userspace or if it can be delegated to the kernel.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: