lkml.org 
[lkml]   [2001]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] rootfs (part 1)
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.058 / U:7.008 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site