Re: [PATCH 1/5] select: add a timespec version of the timeout toselect/poll

From: Linus Torvalds
Date: Fri Aug 29 2008 - 22:55:24 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/