Re: [PATCH] rootfs (part 1)

From: Christoph Rohland (cr@sap.com)
Date: Thu May 17 2001 - 01:46:11 EST


Hi Alan,

On Thu, 17 May 2001, Alan Cox wrote:
> I think you have a major tool problem.
>
> bash-2.04$ size mm/shmem.o
> text data bss dec hex filename
> 7422 572 0 7994 1f3a mm/shmem.o
> bash-2.04$ size fs/ramfs/ramfs.o
> text data bss dec hex filename
> 3185 368 0 3553 de1 fs/ramfs/ramfs.o
>
> Never trust ls -l size for binaries, its very very unrelated.
>
> So ramfs is 3553 bytes, shmem.o in total is 8K on current -ac.

But you cannot disable shmem.o totally. That's my whole point in the
discussion. Why add something what is mostly included in the kernel
already?

You have to compare shmem with tmpfs against shmem w/o it:

   text data bss dec hex filename
   3398 376 0 3774 ebe fs/ramfs/ramfs.o
   5150 484 0 5634 1602 mm/shmem.o
   9174 636 0 9810 2652 mm/shmem.o+tmpfs

So tmpfs is 400 Bytes bigger than ramfs.

If you add the correct timestamp handling the difference will go down
further. And we gain functionality, don't we?

Greetings
                Christoph

-
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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:22 EST