From: Russell King Date: Thu, 15 Sep 2005 14:17:59 +0000 (+0100) Subject: [ARM] Tighten pfn_valid() test. X-Git-Tag: v2.6.14-rc2~5^2~63^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3cb73f7306f97a68fa973dec9f3c3b68bd29cf;p=pandora-kernel.git [ARM] Tighten pfn_valid() test. Thomas Gleixner reported that mmaping and unmapping each physical page in turn eventually caused the kernel to oops. It appears that pfn_valid() in the discontigmem case was too simplistic for proper operation. Tighten the logic so we also check if the PFN is within the range of the selected memory node. Signed-off-by: Russell King --- Reading git-diff-tree failed