Skip to content
Commit 606ee44d authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86: make mm/gup.c more virtualization friendly



Since pte_flags() is much cheaper than pte_val() in some virtualized
environments (namely, Xen), use the former whereever possible.

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Cc: "Nick Piggin" <npiggin@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5e72d9e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment