Re: [PATCH] use tmpfs for rootfs v2

From: Bodo Eggert
Date: Thu Oct 16 2008 - 18:34:35 EST


On Thu, 16 Oct 2008, Chris Friesen wrote:
> Bodo Eggert wrote:

> > Having tmpfs as the root filesystem allows you to get rid of the now unused
> > ramfs and free some kernel memory. On my system, that's about 5198 bytes
> > compared to having a ramfs root.
>
> If you're not using swap, I assume the memory usage of tmpfs and ramfs would
> be identical?

I'd rather think having ACL, security labels etc. pp. will make tmpfs use
more memory per file or directory. If you have no use for tmpfs' features,
you should use ramfs. But if you do want to use tmpfs in your system,
my guess is you'll be most likely be better off using no ramfs.
--
Good programming is 99% sweat and 1% coffee.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/