On Sun, 23 Sep 2007, Arnaldo Carvalho de Melo wrote:No, please no! The BSD memory functions are nasty. If you do bzero, you logically should do the others too, and they are way inferior to the standard ones. Let's not go there. Besides, if we want to avoid mistakes, I would suggest going to a much higher level. Ie more along the lines of also fixing the size and alignment, and using something like #define memclear(p) memset(p, 0, sizeof(*(p))) because if you actually do something like git grep 'memset.*,[ ]*0[ ]*,' (those [..] things contatain a space and a tab), you'll see that a *lot* of them share that pattern. Not that I think it's really worth it. Linus -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Andy Whitcroft | Re: 2.6.21-rc7-mm2 -- x86_64 blade hard hangs |
| Rafael J. Wysocki | 2.6.26-rc1-git9: Reported regressions from 2.6.25 |
git: | |
| Andy Grover | [PATCH 01/21] RDS: Socket interface |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
