From: Michal Hocko Date: Fri, 20 Jan 2012 22:33:58 +0000 (-0800) Subject: mm: __count_immobile_pages(): make sure the node is online X-Git-Tag: v3.3-rc2~46^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656a070629adfe23c12768e35ddf91feab469ff7;p=pandora-kernel.git 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 Signed-off-by: KAMEZAWA Hiroyuki Acked-by: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed