Geert Uytterhoeven wrote:
quoted text > On Sat, 8 Dec 2007, Balbir Singh wrote:
>> + if (strstr(p, "fake="))
>> + cmdline = p + 5; /* 5 is faster than strlen("fake=") */
>
> Really? My gcc is smart enough to replace the `strlen("fake=")' by 5, even
> without -O.
>
Thanks for pointing that out, but I am surprised that a compiler would
interpret library routines like strlen.
quoted text > With kind regards,
>
> Geert Uytterhoeven
> Software Architect
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH] Fake NUMA emulation for PowerPC , Balbir Singh , (Fri Dec 7, 5:35 pm)