summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-03-15 03:17:50 +0000
committerguenther <guenther@openbsd.org>2016-03-15 03:17:50 +0000
commit13b4861affcb1b7a5e108a12442feb731300d28b (patch)
tree810b4bdef2522b38f7177ee24d1edef9ddffc6c6 /lib
parentReplace two malloc casts that deraadt@ and I removed over the past year (diff)
downloadwireguard-openbsd-13b4861affcb1b7a5e108a12442feb731300d28b.tar.xz
wireguard-openbsd-13b4861affcb1b7a5e108a12442feb731300d28b.zip
Burn more LDT deadwood: stop allocating one for each idle thread,
load the ldt register with the null selector (disabling use of it), stop reloading it on every context switch, and blow away the table itself, as well as the pcb and pmap bits that were used to track it (making sure to keep pcb_savefpu correctly aligned). testing naddy@ ok kettenis@ mpi@ mlarkin@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions