From: Richard Weinberger Date: Sat, 14 Apr 2012 15:29:30 +0000 (+0200) Subject: um: Implement a custom pte_same() function X-Git-Tag: v3.2.19~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e22b65022898e212f80ca989e613179e318b8a79;p=pandora-kernel.git um: Implement a custom pte_same() function commit f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3 upstream. UML uses the _PAGE_NEWPAGE flag to mark pages which are not jet installed on the host side using mmap(). pte_same() has to ignore this flag, otherwise unuse_pte_range() is unable to unuse the page because two identical page tables entries with different _PAGE_NEWPAGE flags would not match and swapoff() would never return. Analyzed-by: Hugh Dickins Signed-off-by: Richard Weinberger Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed