summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSanjay Lal <sanjayl@kymasys.com>2013-05-18 06:54:24 -0700
committerGleb Natapov <gleb@redhat.com>2013-05-22 11:44:09 +0300
commit6d17c0d1e8a66f5508082cb0fecb8afb7e9a21e4 (patch)
treeeca5c93989a96bd5afff0e48178286861f8ce475 /include
parentba86e4dda700b3e696119c7f4fad945b90cf5c84 (diff)
KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()
- As suggested by Gleb, wrap calls to gfn_to_pfn() with srcu_read_lock/unlock(). Memory slots should be acccessed from a SRCU read section. - kvm_mips_map_page() now returns an error code to it's callers, instead of calling panic() if it cannot find a mapping for a particular gfn. Signed-off-by: Sanjay Lal <sanjayl@kymasys.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions