Re: [PATCH] net/core/flow.c: compare data with memcmp

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <daniel.marjamaki@...>
Cc: <netdev@...>, <kernel-janitors@...>, <linux-kernel@...>
Date: Monday, January 1, 2007 - 4:49 am

From: "Daniel_Marjamäki" <daniel.marjamaki@gmail.com>
Date: Mon, 1 Jan 2007 08:47:48 +0100


Essentially, yes.

However, I wonder.  GCC should be able to see this also, and
if it expands the memset() inline the code emitted should be
very similar.

It is something to investigate on a few cpu types, for sure.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] net/core/flow.c: compare data with memcmp, David Miller, (Mon Jan 1, 4:49 am)
[patch 3/5] x86: nmi_watchdog - remove useless check, Cyrill Gorcunov, (Wed Dec 31, 8:00 pm)