Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-09 | device: fix alignment on 32-bit machines and test for it | Jason A. Donenfeld | |
The test previously checked the offset within a substruct, not the offset within the allocated struct, so this adds the two together. It then fixes an alignment crash on 32-bit machines. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2021-02-02 | device: use a waiting sync.Pool instead of a channel | Jason A. Donenfeld | |
Channels are FIFO which means we have guaranteed cache misses. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2021-01-29 | device: use int64 instead of atomic.Value for time stamp | Jason A. Donenfeld | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |