wireguard-go-awg2-lx/device
Jordan Whited cc7b29b8c6
device: move Queue{In,Out}boundElement Mutex to container type
Queue{In,Out}boundElement locking can contribute to significant
overhead via sync.Mutex.lockSlow() in some environments. These types
are passed throughout the device package as elements in a slice, so
move the per-element Mutex to a container around the slice.

Signed-off-by: Jordan Whited <jordan@tailscale.com>
2023-09-29 15:32:56 -07:00
..
allowedips.go global: bump copyright year 2023-02-07 20:39:29 -03:00
allowedips_rand_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
allowedips_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
bind_test.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
channels.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
constants.go global: bump copyright year 2023-02-07 20:39:29 -03:00
cookie.go global: bump copyright year 2023-02-07 20:39:29 -03:00
cookie_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
device.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
device_test.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
devicestate_string.go device: remove deviceStateNew 2021-02-09 15:39:19 +01:00
endpoint_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
indextable.go global: bump copyright year 2023-02-07 20:39:29 -03:00
ip.go global: bump copyright year 2023-02-07 20:39:29 -03:00
kdf_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
keypair.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
logger.go global: bump copyright year 2023-02-07 20:39:29 -03:00
mobilequirks.go global: bump copyright year 2023-02-07 20:39:29 -03:00
noise-helpers.go device: uniformly check ECDH output for zeros 2023-02-16 16:33:14 +01:00
noise-protocol.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
noise-types.go global: bump copyright year 2023-02-07 20:39:29 -03:00
noise_test.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
peer.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
pools.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
pools_test.go conn, device, tun: implement vectorized I/O plumbing 2023-03-10 14:52:13 +01:00
queueconstants_android.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
queueconstants_default.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
queueconstants_ios.go global: bump copyright year 2023-02-07 20:39:29 -03:00
queueconstants_windows.go global: bump copyright year 2023-02-07 20:39:29 -03:00
race_disabled_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
race_enabled_test.go global: bump copyright year 2023-02-07 20:39:29 -03:00
receive.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
send.go device: move Queue{In,Out}boundElement Mutex to container type 2023-09-29 15:32:56 -07:00
sticky_default.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
sticky_linux.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
timers.go global: bump copyright year 2023-02-07 20:39:29 -03:00
tun.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
uapi.go all: rename module (#7) 2023-09-27 15:03:39 -07:00