On Tue, Apr 23, 2019 at 02:20:43PM +, Christophe Leroy wrote:
> This patch allows to generate bzip2 compressed uImage
Please don't add bzip2 support, that's a waste of your time as we're trying
to remove it kernel-wide. There's a patchset to retire compressors beaten
by alternatives on the wh
On Tue, Nov 13, 2018 at 10:45:54PM +, Paul Burton wrote:
> On Fri, Nov 09, 2018 at 08:02:52PM +0100, Adam Borowski wrote:
> > @@ -122,7 +104,6 @@ $(obj)/vmlinux.its.S: $(addprefix
> > $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS
> >
> > targets
It was really obsolete, and some entries contradicted each other.
Let's not recommend ZSTD for kernel compression yet as it's available
only on x86, and some distros might not have the tool installed.
Proposing ZSTD for initrd is safer but let's test it first.
Signed-off-by
It's too easy to build the initrd with wrong options during testing, after
which it may silently work anyway.
Signed-off-by: Adam Borowski
---
lib/decompress.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/decompress.c b/lib/decompress.c
index 95f39a1
Made redundant by newer choices.
Signed-off-by: Adam Borowski
---
arch/s390/Kconfig| 2 --
arch/s390/boot/compressed/Makefile | 8 +---
arch/s390/boot/compressed/decompressor.c | 8
3 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/arch
select it will
harmlessly be adjusted, thus there's no risk of breakage.
Bare lzma is redundant with xz, lacks some improvements, and uses its own
copy of code instead using the common library.
Signed-off-by: Adam Borowski
---
Documentation/x86/boot.txt| 11 +--
arch/x86/Kconfig
The XZ library already can decompress lzma, this other copy was redundant.
We just removed rather than converted all old users.
Signed-off-by: Adam Borowski
---
include/linux/decompress/unlzma.h | 13 -
lib/Makefile | 1 -
lib/decompress.c | 5 -
lib
You want XZ instead: newer version of same algorithm, has an optimized
filter for arm32 executables, uses a library shared with other uses of XZ
in the kernel.
Signed-off-by: Adam Borowski
---
arch/arm/Kconfig | 1 -
arch/arm/boot/compressed/Makefile | 1 -
arch/arm
Made redundant by newer choices.
Signed-off-by: Adam Borowski
---
arch/parisc/Kconfig | 2 --
arch/parisc/boot/compressed/Makefile | 10 ++
arch/parisc/boot/compressed/misc.c | 8
3 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/arch/parisc
From: Nick Terrell
Add support for extracting ZSTD-compressed kernel images, as well as
ZSTD-compressed ramdisk images in the kernel boot process.
When neither `fill' nor `flush' are used, the decompression function
requires a constant amount of memory (192 KB is sufficient). When either
is used
Made redundant by newer choices.
Signed-off-by: Adam Borowski
---
arch/mips/Kconfig | 2 --
arch/mips/boot/Makefile| 27 --
arch/mips/boot/compressed/Makefile | 2 --
arch/mips/boot/compressed/decompress.c | 8
4 files
For now, that's arch/x86/boot/compressed/vmlinux.bin.zst but probably more
will come, thus let's be consistent with all other compressors.
Signed-off-by: Adam Borowski
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 97ba6b79834c..0d
Hi!
As new compressors get invented, they tend to find their way into the
kernel, yet we never prune superseded ones. It's time to do so.
In particular, BZIP2 is drastically slower than other compressors we
have, even when they achieve smaller sizes. It takes more memory, too.
And, BZIP2 is not
From: Nick Terrell
Integrates the ZSTD decompression code to the x86 pre-boot code.
Zstandard requires slightly more memory during the kernel decompression
on x86 (192 KB vs 64 KB), and the memory usage is independent of the
window size.
Zstandard requires memory proportional to the window size
Made redundant by newer choices.
Signed-off-by: Adam Borowski
---
arch/sh/Kconfig | 2 --
arch/sh/Makefile | 4 +---
arch/sh/boot/Makefile| 19 ++-
arch/sh/boot/compressed/Makefile | 5 -
arch/sh/boot/compressed/misc.c | 12
as
someone might have requested it in initramfs.conf -- but it's not an
option users tend to alter, and they'd use a better algorithm anyway.
Thus, user damage is possible but on par with removal of an ancient
filesystem.
Signed-off-by: Adam Borowski
---
Makefile
Obsoleted by XZ.
The config option for compressing the kernel stays, as some archs have a
bootloader outside the kernel that wants LZMA.
Signed-off-by: Adam Borowski
---
Makefile| 1 -
usr/Kconfig | 28 ++--
2 files changed, 2 insertions(+), 27 deletions(-)
diff
Made redundant by newer choices -- sort of, as no one enabled support
for XZ nor ZSTD for unicore yet...
Signed-off-by: Adam Borowski
---
arch/unicore32/Kconfig | 2 --
arch/unicore32/boot/compressed/Makefile | 4 +---
arch/unicore32/boot/compressed/misc.c | 8
3
They don't exist anymore.
Signed-off-by: Adam Borowski
---
arch/arm/configs/aspeed_g4_defconfig | 1 -
arch/arm/configs/aspeed_g5_defconfig | 1 -
arch/arm/configs/clps711x_defconfig| 1 -
arch/arm/configs/ezx_defconfig | 2 --
arch/arm/configs/hisi_defc
All remaining references are userspace code to build tarballs, packages
or such.
Signed-off-by: Adam Borowski
---
lib/Kconfig | 3 -
lib/Makefile | 1 -
lib/decompress.c | 4 -
lib/decompress_bunzip2.c | 756 ---
scripts
On Fri, Mar 30, 2018 at 12:58:02PM +0200, Ingo Molnar wrote:
> * John Paul Adrian Glaubitz wrote:
>
> > On 03/27/2018 12:40 PM, Linus Torvalds wrote:
> > > On Mon, Mar 26, 2018 at 4:37 PM, John Paul Adrian Glaubitz
> > > wrote:
> > >>
> > >> What about a tarball with a minimal Debian x32 chroot?
On Tue, Aug 29, 2017 at 08:56:15PM -0400, Jerome Glisse wrote:
> I will wait for people to test and for result of my own test before
> reposting if need be, otherwise i will post as separate patch.
>
> > But from a _very_ quick read-through this looks fine. But it obviously
> > needs testing.
> >
These lines were inoperative for four years, which puts some doubt into
their importance, and it's possible the fixed version will regress, but
at the very least they should be removed instead.
Signed-off-by: Adam Borowski
---
arch/powerpc/boot/dts/xcalibur1501.dts | 4 ++--
arch/powerpc
These lines were inoperative for four years, which puts some doubt into
their importance, and it's possible the fixed version will regress, but
at the very least they should be removed instead.
Signed-off-by: Adam Borowski
---
arch/powerpc/boot/dts/xcalibur1501.dts | 4 ++--
arch/powerpc
24 matches
Mail list logo