Takuya Yoshikawa c8cfbb555e KVM: MMU: Use ptep_user for cmpxchg_gpte()
The address of the gpte was already calculated and stored in ptep_user
before entering cmpxchg_gpte().

This patch makes cmpxchg_gpte() to use that to make it clear that we
are using the same address during walk_addr_generic().

Note that the unlikely annotations are used to show that the conditions
are something unusual rather than for performance.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2011-05-22 08:48:14 -04:00
..
2010-08-14 22:26:53 +02:00
2011-03-18 10:39:30 +01:00
2010-05-10 13:37:16 -07:00
2010-04-08 11:34:34 +02:00
2010-10-27 14:30:01 +02:00
2011-03-18 10:39:30 +01:00