commit | f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sat Apr 14 17:29:30 2012 +0200 |
committer | Richard Weinberger <richard@nod.at> | Mon May 21 21:09:34 2012 +0200 |
tree | 328e59eb0b946a2f79b5d9e926fbc26821077502 | |
parent | 62179d47c2b1495bedc942b424e933a4b0f2ed51 [diff] |
um: Implement a custom pte_same() function 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. CC: stable@kernel.org Analyzed-by: Hugh Dickins <hughd@google.com> Signed-off-by: Richard Weinberger <richard@nod.at>