Messages in this thread | | | Date | Mon, 17 Nov 2003 17:25:57 +0000 | From | viro@parcelfa ... | Subject | Re: Is initramfs freed after kernel is booted? |
| |
On Mon, Nov 17, 2003 at 11:06:48AM -0500, Chris Friesen wrote: > Kevin P. Fleming wrote: > > >There is no pivot_root happening here; the kernel creates a ramfs and > >mounts it on / (as rootfs), then unpacks the initramfs cpio archive into > >it. After doing a few more steps, it overmounts the real root onto /, > >making the rootfs filesystem invisible. It is not freed in the current > >kernels. > > Anyone know why it overmounts rather than pivots?
Because amount of extra code you lose that way takes more memory than empty roots takes.
Remove whatever files you don't need and be done with that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |