diff options
| author | Dave Hansen <haveblue@us.ibm.com> | 2005-03-09 16:30:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-09 16:30:15 -0800 |
| commit | f7e3b0c7b98b748fe462dd95918dc17afff3bc00 (patch) | |
| tree | b4ca1a299f5a1858ffda31cee06094143304b2a2 /include/linux | |
| parent | 3e2af7dbc174d8ddd812c7a1821f930c408b180f (diff) | |
[PATCH] x86: do not unnecessarily memset the pgdats
Both the pgdats and the struct zonelist are zeroed unnecessarily. The
zonelist is a member of the pgdat, so any time the pgdat is cleared, so is the
zonelist. All of the architectures present a zeroed pgdat to the generic
code, so it's not necessary to set it again.
Not clearing it like this allows the functions to be reused by the memory
hotplug code. The only architecture which has a dependence on these clears is
i386. The previous patch in this series fixed that up.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
