diff options
author | Rui Salvaterra <[email protected]> | 2020-12-14 19:14:35 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-15 12:13:47 -0800 |
commit | 3d711a382735d2c34d3ba2075a5aa83a894f4a57 (patch) | |
tree | 89c453f287b53fd476d2df1a5292ace0e154d6eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 194e28da1a0279ef6a106a5b621fd79c410432ef (diff) |
zram: break the strict dependency from lzo
From the beginning, the zram block device always enabled CRYPTO_LZO,
since lzo-rle is hardcoded as the fallback compression algorithm. As a
consequence, on systems where another compression algorithm is chosen
(e.g. CRYPTO_ZSTD), the lzo kernel module becomes unused, while still
having to be built/loaded.
This patch removes the hardcoded lzo-rle dependency and allows the user
to select the default compression algorithm for zram at build time. The
previous behaviour is kept, as the default algorithm is still lzo-rle.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Rui Salvaterra <[email protected]>
Suggested-by: Sergey Senozhatsky <[email protected]>
Suggested-by: Minchan Kim <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions