From: H. Peter Anvin Date: Tue, 1 Dec 2009 05:33:51 +0000 (-0800) Subject: x86, mm: Correct the implementation of is_untracked_pat_range() X-Git-Tag: v2.6.33-rc1~374^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccef086454d4c97e7b722e9303390207d681cb4c;p=pandora-kernel.git x86, mm: Correct the implementation of is_untracked_pat_range() The semantics the PAT code expect of is_untracked_pat_range() is "is this range completely contained inside the untracked region." This means that checkin 8a27138924f64d2f30c1022f909f74480046bc3f was technically wrong, because the implementation needlessly confusing. The sane interface is for it to take a semiclosed range like just about everything else (as evidenced by the sheer number of "- 1"'s removed by that patch) so change the actual implementation to match. Reported-by: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Jack Steiner Signed-off-by: H. Peter Anvin LKML-Reference: <20091119202341.GA4420@sgi.com> --- Reading git-diff-tree failed