diff options
| author | Paul Mundt <[email protected]> | 2007-07-20 00:31:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-20 08:44:19 -0700 |
| commit | e228929bc257b963523ed75aa60d2ad77ece2189 (patch) | |
| tree | d72cf8e6d8a126792565549527efc2c9a6fcdcbe /scripts/patch-kernel | |
| parent | 8d1b87530e7df5c9541a69910ef7f786f034eca0 (diff) | |
mm: fix memory hotplug oops from ZONE_MOVABLE changes.
zone_movable_pfn is presently marked as __initdata and referenced from
adjust_zone_range_for_zone_movable(), which in turn is referenced by
zone_spanned_pages_in_node(). Both of these are __meminit annotated. When
memory hotplug is enabled, this will oops on a hot-add, due to
zone_movable_pfn having been freed.
__meminitdata annotation gives the desired behaviour.
This will only impact platforms that enable both memory hotplug
and ARCH_POPULATES_NODE_MAP.
Signed-off-by: Paul Mundt <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions