tailscale/wgengine
Josh Bleecher Snyder 6ef734e493 wgengine: predict min.Peers length across calls
The number of peers we have will be pretty stable across time.
Allocate roughly the right slice size.
This reduces memory usage when there are many peers.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-08-18 16:12:45 -07:00
..
bench wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
filter tstime/rate: new package 2021-07-29 12:56:58 -07:00
magicsock wgengine/magicsock: move debug knobs to their own file, compile out on iOS 2021-08-15 13:21:22 -07:00
monitor all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
netstack wgengine/netstack: implement UDP relaying to advertised subnets 2021-07-21 22:32:26 -07:00
router wgengine/router: pass in AmbientCaps when calling ip rule 2021-08-18 13:28:53 -07:00
wgcfg wgcfg: Switch to using mem.RO 2021-07-13 13:45:44 -07:00
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 2021-06-04 13:06:28 -07:00
winnet wgengine/winnet: don't build on non-windows 2021-02-09 21:09:24 -08:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go wgengine/magicsock: use mono.Time 2021-07-29 12:56:58 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go wgengine: use mono.Time 2021-07-29 12:56:58 -07:00
userspace.go wgengine: predict min.Peers length across calls 2021-08-18 16:12:45 -07:00
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 2021-03-27 09:27:11 -07:00
watchdog.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
wgengine.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00