Messages in this thread | | | Date | Sun, 10 Oct 2004 20:12:53 +0400 | From | Oleg Nesterov <> | Subject | Re: [RFC] __initdata strings |
| |
Andi Kleen wrote: > > There is a more generic way to do this with gcc extensions. Something like > > #define __i(x) ({ static char __str[] __initdata = x; __str; })
I can't see any difference with:
#define I_STRING(str) \ ({ \ static char data[] __initdata = (str); \ data; \ })
> But I'm not sure the few bytes saved are worth the code uglification.
Probably you are right, but i think it would be few kilobytes, there are so many __init functions.
Oleg. - 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/
| |