diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2005-10-30 02:16:52 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 05:40:44 +0100 |
commit | c6a57e19e464db118dc4ab9cfe9e9748c6d630a0 (patch) | |
tree | 1be192e4c0635c9aa49c8c76d1606e606ecdc9a0 /arch/alpha/mm | |
parent | [PATCH] memory hotplug prep: __section_nr helper (diff) | |
download | linux-c6a57e19e464db118dc4ab9cfe9e9748c6d630a0.tar.xz linux-c6a57e19e464db118dc4ab9cfe9e9748c6d630a0.zip |
[PATCH] memory hotplug prep: fixup bad_range()
When doing memory hotplug operations, the size of existing zones can obviously
change. This means that zone->zone_{start_pfn,spanned_pages} can change.
There are currently no locks that protect these structure members. However,
they are rarely accessed at runtime. Outside of swsusp, the only place that I
can find is bad_range().
So, split bad_range() up into two pieces: one that needs to be locked and
anther that doesn't.
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 'arch/alpha/mm')
0 files changed, 0 insertions, 0 deletions