lkml.org 
[lkml]   [2008]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] select: add a timespec version of the timeout to select/poll


On Fri, 29 Aug 2008, Andrew Morton wrote:
>
> It could be that two plain old writes is more efficient. (and it could
> be that this is how the compiler implements the memset anyway?)

gcc indeed knows about memset(), and will generate just two stores. No
worries,

Linus


\
 
 \ /
  Last update: 2008-08-30 05:09    [W:0.249 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site