Re: memset as memzero

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Cyrill Gorcunov <gorcunov@...>
Cc: LKML <linux-kernel@...>, Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>
Date: Saturday, September 22, 2007 - 3:46 pm

On Sat, 22 Sep 2007 12:33:55 +0400
Cyrill Gorcunov <gorcunov@gmail.com> wrote:


it doesn't add value.... memset with a constant 0 is just as fast
(since the compiler knows it's 0) than any wrapper around it, and the
syntax around it is otherwise the same.



my suggestion is to nuke all the macros and just use memset().

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
memset as memzero, Cyrill Gorcunov, (Sat Sep 22, 4:33 am)
Re: memset as memzero, Arjan van de Ven, (Sat Sep 22, 3:46 pm)
Re: memset as memzero, Cyrill Gorcunov, (Sat Sep 22, 3:32 pm)
Re: memset as memzero, Bernd Eckenfels, (Sat Sep 22, 3:25 pm)
Re: memset as memzero, Linus Torvalds, (Sat Sep 22, 2:53 pm)
Re: memset as memzero, Dave Jones, (Sun Sep 23, 11:32 am)
Re: memset as memzero, Robert P. J. Day, (Sun Sep 23, 12:33 pm)
Re: memset as memzero, Arnaldo Carvalho de Melo, (Sun Sep 23, 12:46 pm)
Re: memset as memzero, Arnaldo Carvalho de Melo, (Sun Sep 23, 12:07 pm)
Re: memset as memzero, Linus Torvalds, (Sun Sep 23, 1:05 pm)
Re: memset as memzero, Willy Tarreau, (Sun Sep 23, 2:46 pm)
Re: memset as memzero, Robert P. J. Day, (Sat Sep 22, 4:48 am)
Re: memset as memzero, Cyrill Gorcunov, (Sat Sep 22, 5:35 am)
Re: memset as memzero, Robert P. J. Day, (Sat Sep 22, 5:55 am)
Re: memset as memzero, Cyrill Gorcunov, (Sat Sep 22, 6:15 am)