lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 2.3.99-pre3-3: dev_alloc_name
Tim Waugh wrote:
>
> Compiling Space.c with -fwritable-strings seems to have the right affect,

It grows by 55%:

[morton@victoria net]$ size Space.o
text data bss dec hex filename
702 2936 0 3638 e36 Space.o

[morton@victoria net]$ size Space.o
text data bss dec hex filename
297 5340 0 5637 1605 Space.o

This is why:


[morton@victoria net]$ strings Space.o
eip: %p
/usr/src/linux/include/asm/spinlock.h
kernel BUG at %s:%d!
/usr/src/linux/include/asm/spinlock.h
kernel BUG at %s:%d!
/usr/src/linux/include/asm/spinlock.h
kernel BUG at %s:%d!
/usr/src/linux/include/asm/spinlock.h
kernel BUG at %s:%d!
/usr/src/linux/include/asm/spinlock.h
kernel BUG at %s:%d!
wq bug, forcing oops.
wq bug, forcing oops.
wq bug, forcing oops.
bad magic %lx (should be %lx, creator %lx),
wq bug, forcing oops.


strdup() sounds good. Do the world a favour and put it in $TOPDIR/lib
this time!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.108 / U:1.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site