From: Thomas Gleixner Date: Sat, 23 Feb 2008 19:43:21 +0000 (+0100) Subject: x86: CPA: avoid split of alias mappings X-Git-Tag: v2.6.25-rc4~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be8f54bae3453588011cad06363813a5293af53;p=pandora-kernel.git x86: CPA: avoid split of alias mappings avoid over-eager large page splitup. When the target area needs to be split or is split already (ioremap) then the current code enforces the split of large mappings in the alias regions even if we could avoid it. Use a separate variable processed in the cpa_data structure to carry the number of pages which have been processed instead of reusing the numpages variable. This keeps numpages intact and gives the alias code a chance to keep large mappings intact. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed