Messages in this thread | | | Date | Tue, 21 Mar 2000 14:36:32 +0000 | From | Andrew Morton <> | Subject | Re: [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/
| |