diff options
author | Lai Jiangshan <jiangshan.ljs@antfin.com> | 2020-03-24 09:54:02 +0000 |
---|---|---|
committer | Lai Jiangshan <laijs@linux.alibaba.com> | 2020-08-04 18:27:32 +0800 |
commit | c4d364c7cea23e29befa5b708d14a7912f47ce37 (patch) | |
tree | 9562ff6338057ee4d3caeac126192e625d24a953 /website/_plugins | |
parent | 5a0f2f6e499125c4b0bde2f84cf0eccbb6d6df94 (diff) |
amd64: less code and data in the upper half
Call jumpToKernel() in sysret()/iret() so that there is less
code and data in the upper half, and, especially, current
goroutine's stack and user regs will not be accessed from the
upper half (also with the help from previous patches which make
less code in userCR3 context).
jumpToUser() will not be needed, because current goroutine's stack
and return value in the stack is lower half address.
It 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 'website/_plugins')
0 files changed, 0 insertions, 0 deletions