]> err.no Git - linux-2.6/commit
[PATCH] Add retain_initrd boot option
authorMichael Neuling <mikey@neuling.org>
Sat, 10 Feb 2007 09:44:33 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:24 +0000 (10:51 -0800)
commit0a7b35cb18c52d651f6ed9cd59edc979200ab880
tree0f4b9ec8296170f7144637aa05d5b58cb2f56c6c
parent70e840499aae90be1de542894062ad2899d23642
[PATCH] Add retain_initrd boot option

Add retain_initrd option to control freeing of initrd memory after
extraction.  By default, free memory as previously.

The first boot will need to hold a copy of the in memory fs for the second
boot.  This image can be large (much larger than the kernel), hence we can
save time when the memory loader is slow.  Also, it reduces the memory
footprint while extracting the first boot since you don't need another copy
of the fs.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
init/initramfs.c