diff options
author | neel <neel@FreeBSD.org> | 2015-06-23 02:17:23 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2015-06-23 02:17:23 +0000 |
commit | 2c76978d5ae6aecfe54cbba43cb30b3f521c37ef (patch) | |
tree | a56bb85e4d2550aaa1744503613b5ec1c0a80bfc /contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 0b2e37f19947fe4ae769a63ce8b02e05d19774f3 (diff) | |
download | FreeBSD-src-2c76978d5ae6aecfe54cbba43cb30b3f521c37ef.zip FreeBSD-src-2c76978d5ae6aecfe54cbba43cb30b3f521c37ef.tar.gz |
Restore the host's GS.base before returning from 'svm_launch()'.
Previously this was done by the caller of 'svm_launch()' after it returned.
This works fine as long as no code is executed in the interim that depends
on pcpu data.
The dtrace probe 'fbt:vmm:svm_launch:return' broke this assumption because
it calls 'dtrace_probe()' which in turn relies on pcpu data.
Reported by: avg
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions