diff options
author | Richard Weinberger <richard@nod.at> | 2012-04-14 17:29:30 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-05-21 21:09:34 +0200 |
commit | f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3 (patch) | |
tree | 328e59eb0b946a2f79b5d9e926fbc26821077502 /tools | |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions