aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/prng.h
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2020-08-13 18:35:29 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2020-08-13 18:35:29 +0000
commit6cbadc42341b0cb4b0aa32fa96129c56138afcf7 (patch)
treedbc6bf6f71c08111062476f36fddba89f74ccd9c /sys/sys/prng.h
parenta459638fc430cf0450f7450fd8576a62305d316f (diff)
downloadsrc-6cbadc42341b0cb4b0aa32fa96129c56138afcf7.tar.gz
src-6cbadc42341b0cb4b0aa32fa96129c56138afcf7.zip
Move rtzone handling code to net/route_ctl.c
After moving the route control plane code from net/route.c, all rtzone users ended up being in net/route_ctl.c. Move uma(9) rtzone setup/teardown code to net/route_ctl.c as well to have everything in a single place. While here, remove custom initializers from the zone. It was added originally to avoid setup/teardown of costy per-cpu couters. With these counters removed, the only remaining job was avoiding rte mutex setup/teardown. Mutex setup is relatively cheap. Additionally, this mutex will soon be removed. With that in mind, there is no sense in keeping custom zone callbacks. Differential Revision: https://reviews.freebsd.org/D26051
Notes
Notes: svn path=/head/; revision=364202
Diffstat (limited to 'sys/sys/prng.h')
0 files changed, 0 insertions, 0 deletions