• Zdenek Pavlas's avatar
    [PATCH] BLK_DEV_INITRD: do not require BLK_DEV_RAM=y · 340e48e6
    Zdenek Pavlas authored
    Initramfs initrd images do not need a ramdisk device, so remove this
    restriction in Kconfig.  BLK_DEV_RAM=n saves about 13k on i386.  Also
    without ramdisk device there's no need for "dry run", so initramfs unpacks
    much faster.
    
    People using cramfs, squashfs, or gzipped ext2/minix initrd images are
    probably smart enough not to turn off ramdisk support by accident.
    
    Cc: Al Viro <viro@ftp.linux.org.uk>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    340e48e6
initramfs.c 10.9 KB