summaryrefslogtreecommitdiffhomepage
path: root/pkg/fdchannel/fdchannel_unsafe.go
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antfin.com>2020-03-24 09:54:02 +0000
committerLai Jiangshan <laijs@linux.alibaba.com>2020-08-04 18:27:32 +0800
commitc4d364c7cea23e29befa5b708d14a7912f47ce37 (patch)
tree9562ff6338057ee4d3caeac126192e625d24a953 /pkg/fdchannel/fdchannel_unsafe.go
parent5a0f2f6e499125c4b0bde2f84cf0eccbb6d6df94 (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 'pkg/fdchannel/fdchannel_unsafe.go')
0 files changed, 0 insertions, 0 deletions