diff options
author | Michal Hocko <[email protected]> | 2012-01-20 14:33:58 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-23 08:38:47 -0800 |
commit | 656a070629adfe23c12768e35ddf91feab469ff7 (patch) | |
tree | 42c001d079ec926186873b91d7d84bf66c54bcad /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 687875fb7de4a95223af20ee024282fa9099f860 (diff) |
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 <[email protected]>
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions