On Sat, 22 Sep 2007, Arjan van de Ven wrote:Indeed. The reason we have "clear_page()" is not because the value we're writing is constant - that doesn't really help/change anything at all. We could have had a "fill_page()" that sets the value to any random byte, it's just that zero is the only value that we really care about. So the reason we have "clear_page()" is because the *size* and *alignment* is constant and known at compile time, and unlike the value you write, that actually matters. So "memzero()" would never really make sense as anything but a syntactic wrapper around "memset(x,0,size)". Linus -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Arjan van de Ven | [Announce] Development release 0.1 of the LatencyTOP tool |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Stephen Hemminger | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
