Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
> Module Name: src
> Committed By: drochner
> Date: Wed Jun 21 17:16:00 UTC 2006
>
> Modified Files:
> src/sys/kern: subr_callback.c
>
> Log Message:
> zero-init callback_head by memset(). code is 12 bytes shorter
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.2 -r1.3 src/sys/kern/subr_callback.c
fwiw, i intentionally avoided to use memset.
this kind of optimization makes code cryptic, IMO.
please put a comment to say which members are initialized by this memset.
YAMAMOTO Takashi
Home |
Main Index |
Thread Index |
Old Index