ARM: imx_v6_v7_defconfig: Remove KERNEL_LZO config
Subsystems (2)
PATCH 1/1 ARM: imx_v6_v7_defconfig: Remove KERNEL_LZO config
The KERNEL_GZIP is used in most config and is the default, there is no clear reason to diverge so let default be used.
---
arch/arm/configs/imx_v6_v7_defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm/configs/imx_v6_v7_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_KERNEL_LZO=y CONFIG_SYSVIPC=y CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y
Signature · 1 line
2.40.1
Hi Otavio,
Quoted 5 lines · Otavio Salvador
The
KERNEL_GZIPis used in most config and is the default, there is no clear reason to diverge so let default be used.Signed-off-by Otavio Salvador <[email protected]>
CONFIG_KERNEL_LZO=y was introduced in 2011 by the following commit below:
06965c39b4c6 ("ARM i.MX5: update defconfig")
imx_v6_v7_defconfig and sdk7786_defconfig are the only defconfigs that select CONFIG_KERNEL_LZO=y,
so it seems fine to remove it:
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 4 lines · Otavio Salvador
The
KERNEL_GZIPis used in most config and is the default, there is no clear reason to diverge so let default be used.Signed-off-by Otavio Salvador <[email protected]>
I don't mind that change, but it seems odd to single this one out, as there are many other options in that particular defconfig that stick out more, picking LZO seems like a reasonable choice for slightly faster booting, though ZSTD would be the more modern choice.
If you are looking into cleaning up this file, maybe see if we can kill off these options:
CONFIG_EXPERT=yCONFIG_ARCH_FORCE_MAX_ORDER=13CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" CONFIG_CS89x0_PLATFORM=y # none of these four are in dts files CONFIG_SMC91X=yCONFIG_SMC911X=yCONFIG_SMSC911X=yCONFIG_STAGING=yCONFIG_STAGING_MEDIA=yCONFIG_VIDEO_IMX_MEDIA=y # not graduated from staging after 6 years CONFIG_EXT2_FS=yCONFIG_EXT3_FS=y # select EXT4 instead CONFIG_ISO9660_FS=m
I have not investigated why any of them were added originally, so it's likely that some are actually needed.
Arnd
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 10 lines · Arnd Bergmann
Quoted 4 lines · Otavio Salvador
The
KERNEL_GZIPis used in most config and is the default, there is no clear reason to diverge so let default be used.Signed-off-by Otavio Salvador <[email protected]>If you are looking into cleaning up this file, maybe see if we can kill off these options:
CONFIG_VIDEO_IMX_MEDIA=y# not graduated from staging after 6 years
This would be a bad idea from my point of view, this is regularly used despite the fact that it is in staging.
Of course, I agree on the graduating thingy ...
Francesco
Quoted 28 lines · Arnd Bergmann
Quoted 4 lines · Otavio Salvador
The
KERNEL_GZIPis used in most config and is the default, there is no clear reason to diverge so let default be used.Signed-off-by Otavio Salvador <[email protected]>I don't mind that change, but it seems odd to single this one out, as there are many other options in that particular defconfig that stick out more, picking LZO seems like a reasonable choice for slightly faster booting, though ZSTD would be the more modern choice.
If you are looking into cleaning up this file, maybe see if we can kill off these options:
CONFIG_EXPERT=yCONFIG_ARCH_FORCE_MAX_ORDER=13CONFIG_CMDLINE="noinitrdconsole=ttymxc0,115200" CONFIG_CS89x0_PLATFORM=y # none of these four are in dts filesCONFIG_SMC91X=yCONFIG_SMC911X=yCONFIG_SMSC911X=yCONFIG_STAGING=yCONFIG_STAGING_MEDIA=yCONFIG_VIDEO_IMX_MEDIA=y# not graduated from staging after 6 yearsCONFIG_EXT2_FS=yCONFIG_EXT3_FS=y# select EXT4 insteadCONFIG_ISO9660_FS=m
Quoted 2 lines
I have not investigated why any of them were added originally, so it's likely that some are actually needed.
Otavio,
Would you investigate the suggested options and see if we can clean up more than just KERNEL_LZO?
Shawn
Hello Shawn,
Em sáb., 27 de mai. de 2023 às 09:44, Shawn Guo <[email protected]> escreveu:
Quoted 30 lines · Arnd Bergmann
Quoted 28 lines · Otavio Salvador
Quoted 4 lines
The
KERNEL_GZIPis used in most config and is the default, there is no clear reason to diverge so let default be used.Signed-off-by Otavio Salvador <[email protected]>I don't mind that change, but it seems odd to single this one out, as there are many other options in that particular defconfig that stick out more, picking LZO seems like a reasonable choice for slightly faster booting, though ZSTD would be the more modern choice.
If you are looking into cleaning up this file, maybe see if we can kill off these options:
CONFIG_EXPERT=yCONFIG_ARCH_FORCE_MAX_ORDER=13CONFIG_CMDLINE="noinitrdconsole=ttymxc0,115200" CONFIG_CS89x0_PLATFORM=y # none of these four are in dts filesCONFIG_SMC91X=yCONFIG_SMC911X=yCONFIG_SMSC911X=yCONFIG_STAGING=yCONFIG_STAGING_MEDIA=yCONFIG_VIDEO_IMX_MEDIA=y# not graduated from staging after 6 yearsCONFIG_EXT2_FS=yCONFIG_EXT3_FS=y# select EXT4 insteadCONFIG_ISO9660_FS=m
Quoted 5 lines
Quoted 2 lines
I have not investigated why any of them were added originally, so it's likely that some are actually needed.
Would you investigate the suggested options and see if we can clean up more than just
KERNEL_LZO?
Sure. I'll view them. I'll prepare more patches for it.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750