diff options
author | Lai Jiangshan <jiangshan.ljs@antfin.com> | 2020-03-24 02:15:46 +0000 |
---|---|---|
committer | Lai Jiangshan <laijs@linux.alibaba.com> | 2020-08-04 18:27:25 +0800 |
commit | 5104bc5d60b0f21e90499ccba473aadb7d6f91e3 (patch) | |
tree | f3b56fe19a8c8000071b5bafc3247bd0d5e9810f /pkg/sentry/kernel/task_context.go | |
parent | d5b31458aae5d5cb95238b71597354b9498027b8 (diff) |
amd64: switch to userCR3 just before return to gr3
UserCR3 takes effect as late as possible so that less code
is in the userCR3 environment. It is prepared for the next
patches that make less code and data in the upper half,
which is prepared for KPTI for gvisor.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antfin.com>
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Diffstat (limited to 'pkg/sentry/kernel/task_context.go')
0 files changed, 0 insertions, 0 deletions