diff options
author | Lai Jiangshan <jiangshan.ljs@antfin.com> | 2020-03-24 04:20:00 +0000 |
---|---|---|
committer | Lai Jiangshan <laijs@linux.alibaba.com> | 2020-08-04 18:27:32 +0800 |
commit | 5a0f2f6e499125c4b0bde2f84cf0eccbb6d6df94 (patch) | |
tree | ae495a02181df2d9226d107e6c484efb1f53b80b /pkg/sentry/kernel/task_context.go | |
parent | 5104bc5d60b0f21e90499ccba473aadb7d6f91e3 (diff) |
amd64: switch to kernelCR3 when just return to gr0
KernelCR3 takes effect as early 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