Commit 0a4dd35c authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

kconfig: update compression algorithm info

There have been new compression algorithms added without updating nearby
relevant descriptive text that refers to (a) the number of compression
algorithms and (b) the most recent one.  Fix these inconsistencies.
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Reported-by: <qasdfgtyuiop@gmail.com>
Cc: Lasse Collin <lasse.collin@tukaani.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: Alain Knaff <alain@knaff.lu>
Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b32dfe37
...@@ -167,7 +167,7 @@ config KERNEL_BZIP2 ...@@ -167,7 +167,7 @@ config KERNEL_BZIP2
depends on HAVE_KERNEL_BZIP2 depends on HAVE_KERNEL_BZIP2
help help
Its compression ratio and speed is intermediate. Its compression ratio and speed is intermediate.
Decompression speed is slowest among the three. The kernel Decompression speed is slowest among the choices. The kernel
size is about 10% smaller with bzip2, in comparison to gzip. size is about 10% smaller with bzip2, in comparison to gzip.
Bzip2 uses a large amount of memory. For modern kernels you Bzip2 uses a large amount of memory. For modern kernels you
will need at least 8MB RAM or more for booting. will need at least 8MB RAM or more for booting.
...@@ -176,10 +176,9 @@ config KERNEL_LZMA ...@@ -176,10 +176,9 @@ config KERNEL_LZMA
bool "LZMA" bool "LZMA"
depends on HAVE_KERNEL_LZMA depends on HAVE_KERNEL_LZMA
help help
The most recent compression algorithm. This compression algorithm's ratio is best. Decompression speed
Its ratio is best, decompression speed is between the other is between gzip and bzip2. Compression is slowest.
two. Compression is slowest. The kernel size is about 33% The kernel size is about 33% smaller with LZMA in comparison to gzip.
smaller with LZMA in comparison to gzip.
config KERNEL_XZ config KERNEL_XZ
bool "XZ" bool "XZ"
...@@ -200,7 +199,7 @@ config KERNEL_LZO ...@@ -200,7 +199,7 @@ config KERNEL_LZO
bool "LZO" bool "LZO"
depends on HAVE_KERNEL_LZO depends on HAVE_KERNEL_LZO
help help
Its compression ratio is the poorest among the 4. The kernel Its compression ratio is the poorest among the choices. The kernel
size is about 10% bigger than gzip; however its speed size is about 10% bigger than gzip; however its speed
(both compression and decompression) is the fastest. (both compression and decompression) is the fastest.
......
...@@ -134,7 +134,7 @@ config INITRAMFS_COMPRESSION_BZIP2 ...@@ -134,7 +134,7 @@ config INITRAMFS_COMPRESSION_BZIP2
depends on RD_BZIP2 depends on RD_BZIP2
help help
Its compression ratio and speed is intermediate. Its compression ratio and speed is intermediate.
Decompression speed is slowest among the four. The initramfs Decompression speed is slowest among the choices. The initramfs
size is about 10% smaller with bzip2, in comparison to gzip. size is about 10% smaller with bzip2, in comparison to gzip.
Bzip2 uses a large amount of memory. For modern kernels you Bzip2 uses a large amount of memory. For modern kernels you
will need at least 8MB RAM or more for booting. will need at least 8MB RAM or more for booting.
...@@ -143,9 +143,9 @@ config INITRAMFS_COMPRESSION_LZMA ...@@ -143,9 +143,9 @@ config INITRAMFS_COMPRESSION_LZMA
bool "LZMA" bool "LZMA"
depends on RD_LZMA depends on RD_LZMA
help help
The most recent compression algorithm. This algorithm's compression ratio is best.
Its ratio is best, decompression speed is between the other Decompression speed is between the other choices.
three. Compression is slowest. The initramfs size is about 33% Compression is slowest. The initramfs size is about 33%
smaller with LZMA in comparison to gzip. smaller with LZMA in comparison to gzip.
config INITRAMFS_COMPRESSION_XZ config INITRAMFS_COMPRESSION_XZ
...@@ -161,7 +161,7 @@ config INITRAMFS_COMPRESSION_LZO ...@@ -161,7 +161,7 @@ config INITRAMFS_COMPRESSION_LZO
bool "LZO" bool "LZO"
depends on RD_LZO depends on RD_LZO
help help
Its compression ratio is the poorest among the four. The kernel Its compression ratio is the poorest among the choices. The kernel
size is about 10% bigger than gzip; however its speed size is about 10% bigger than gzip; however its speed
(both compression and decompression) is the fastest. (both compression and decompression) is the fastest.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment