summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sched.c
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-10-15 03:31:35 +0000
committervisa <visa@openbsd.org>2019-10-15 03:31:35 +0000
commitd4ce8ef6e9b9ee3e216ced681f963a2ce288d25a (patch)
treef2eaec9a87fed158259b65fdcfb03f458db8a8c4 /sys/kern/kern_sched.c
parentWhen setting the modification time on the retrieved file, use utimensat() (diff)
downloadwireguard-openbsd-d4ce8ef6e9b9ee3e216ced681f963a2ce288d25a.tar.xz
wireguard-openbsd-d4ce8ef6e9b9ee3e216ced681f963a2ce288d25a.zip
Fix compiler's view of the alignment of xhci structs. Because the struct
fields are naturally aligned, it is enough to remove __packed. This lets the compiler generate saner machine code. In particular, now the compiler does not use lwl/lwr and swl/swr instructions on mips64 for changing xhci descriptors. The descriptors are properly aligned in memory, so lwl/lwr and swl/swr end up doing a redundant load or store. Feedback from guenther@ deraadt@ Tested on amd64 by krw@ OK mpi@ krw@ kettenis@
Diffstat (limited to 'sys/kern/kern_sched.c')
0 files changed, 0 insertions, 0 deletions