You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/dns
Josh Bleecher Snyder 881bb8bcdc net/dns/resolver: allow an extra alloc for go closure allocation
Go 1.17 switches to a register ABI on amd64 platforms.
Part of that switch is that go and defer calls use an argument-less
closure, which allocates. This means that we have an extra
alloc in some DNS work. That's unfortunate but not a showstopper,
and I don't see a clear path to fixing it.
The other performance benefits from the register ABI will all
but certainly outweigh this extra alloc.

Fixes #2545

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
resolver net/dns/resolver: allow an extra alloc for go closure allocation 3 years ago
config.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
debian_resolvconf.go net/dns: add GOOS build tags 3 years ago
direct.go net/dns: set WSL /etc/resolv.conf 3 years ago
direct_test.go net/dns: factor directManager out over an FS interface 3 years ago
flush_windows.go Move DNS flush logic to net/dns. 3 years ago
ini.go net/dns: don't build init*.go on non-windows 3 years ago
ini_test.go net/dns: don't build init*.go on non-windows 3 years ago
manager.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
manager_default.go net/dns: return error from NewOSManager, use it to initialize NM. 3 years ago
manager_freebsd.go net/dns: factor directManager out over an FS interface 3 years ago
manager_linux.go net/dns: factor directManager out over an FS interface 3 years ago
manager_openbsd.go net/dns: factor directManager out over an FS interface 3 years ago
manager_test.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
manager_windows.go net/dns: do not run wsl.exe as LocalSystem 3 years ago
nm.go staticcheck.conf: turn off noisy lint errors 3 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 3 years ago
openresolv.go net/dns: add GOOS build tags 3 years ago
osconfig.go net/dns: make debian_resolvconf correctly clear DNS configs. 3 years ago
registry_windows.go wgengine/router/dns: move to net/dns. 3 years ago
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 3 years ago
resolvconf.go net/dns: add GOOS build tags 3 years ago
resolved.go net/dns: factor directManager out over an FS interface 3 years ago
wsl_windows.go net/dns: do not run wsl.exe as LocalSystem 3 years ago