summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-01-26 16:31:05 +0000
committermikeb <mikeb@openbsd.org>2016-01-26 16:31:05 +0000
commit3650d167be8436dfd695026628a635ce862d6549 (patch)
tree003bd2163599209804b73080a090ef4eb676aa20 /lib/libc/stdlib/reallocarray.c
parentRename _{req,rsp}_evt descriptor structure members to _{prod,cons}_event (diff)
downloadwireguard-openbsd-3650d167be8436dfd695026628a635ce862d6549.tar.xz
wireguard-openbsd-3650d167be8436dfd695026628a635ce862d6549.zip
Rewrite tx path to use flat transmit ring without fragment chains
Xen doesn't provide transmit fragment chains so initially they were emulated but amount of grant table entries wasted in the process was astronomical (9 times more than after this change). So while code readability was sacrificed a bit, the change comes with a very nice transmit performance improvement and taxes grant table references much less than before.
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions