diff options
author | Michal Hocko <mhocko@suse.cz> | 2012-01-20 22:33:58 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-23 16:38:47 (GMT) |
commit | 656a070629adfe23c12768e35ddf91feab469ff7 (patch) | |
tree | 42c001d079ec926186873b91d7d84bf66c54bcad /lib/mpi | |
parent | 687875fb7de4a95223af20ee024282fa9099f860 (diff) | |
download | linux-656a070629adfe23c12768e35ddf91feab469ff7.tar.xz |
mm: __count_immobile_pages(): make sure the node is online
page_zone() requires an online node otherwise we are accessing NULL
NODE_DATA. This is not an issue at the moment because node_zones are
located at the structure beginning but this might change in the future
so better be careful about that.
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions