Reducing the size of kexec util

Neil Horman nhorman at redhat.com
Wed May 7 13:28:36 EDT 2008


On Wed, May 07, 2008 at 10:11:30AM -0700, Lombard, David N wrote:
> The current (20080324) kexec binary on x86 is 135KiB.  While not a
> problem on a normal distro or runtime environment, it's a chubster
> in an embedded role.
> 
> Has any thought been given to reducing its 'on-disk' footprint?
> The rather obvious, non-default build-time options to only support
> specific kernel types and capabilities, jumps to mind.
> 
> Beyond build-time options, a Busybox applet would further minimize
> size, but maintenance would be painful...
> 
Busybox is precisely what I use to implement kdump in RHEL at the moment.  Its
still a bit bloated, since it is meant for enterprise servers, but it makes it
very easy to customize very small initramfs files for specific purposes.

Neil

> -- 
> David N. Lombard, Intel, Irvine, CA
> I do not speak for Intel Corporation; all comments are strictly my own.
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec

-- 
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman at redhat.com
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/



More information about the kexec mailing list