Radim Krčmář 2fa6e1e12a KVM: add kvm_request_pending
A first step in vcpu->requests encapsulation.  Additionally, we now
use READ_ONCE() when accessing vcpu->requests, which ensures we
always load vcpu->requests when it's accessed.  This is important as
other threads can change it any time.  Also, READ_ONCE() documents
that vcpu->requests is used with other threads, likely requiring
memory barriers, which it does.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
[ Documented the new use of READ_ONCE() and converted another check
  in arch/mips/kvm/vz.c ]
Signed-off-by: Andrew Jones <drjones@redhat.com>
Acked-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-06-04 16:53:00 +02:00
..
2017-05-05 11:36:44 -07:00
2017-05-12 10:04:09 -07:00
2017-06-04 16:53:00 +02:00
2017-05-05 11:36:44 -07:00
2017-02-22 10:30:38 -08:00
2016-12-25 17:21:22 +01:00
2017-05-12 10:04:09 -07:00
2017-05-12 10:04:09 -07:00
2017-05-12 10:04:09 -07:00