x86: make mm/gup.c more virtualization friendly
authorJan Beulich <jbeulich@novell.com>
Wed, 17 Sep 2008 15:48:17 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:18 +0000 (10:21 +0200)
Since pte_flags() is much cheaper than pte_val() in some virtualized
environments (namely, Xen), use the former whereever possible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: "Nick Piggin" <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found