lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Repalce strncmp by memcmp
From
Hi,

On Sun, Nov 28, 2010 at 9:09 PM, Pavel Vasilyev <pavel@pavlinux.ru> wrote:
>
>    This patch replace all strncmp(a, b, c) by  memcmp(a, b, c).
>
> I test on x86_64 (AMD Opteron 285).
>
> #include <string.h>
>
Could you at least do your "performance/code analysis" [NDLR: ahem...]
in a kernel environment ? <string.h> only belongs to userland and the
"K" of lkml stands for "kernel".

Thanks,
- Arnaud

ps: please don't send a +500k on the list, that's rude to many people.
--
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: 2010-11-30 00:35    [W:0.211 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site