Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | device: fix alignment on 32-bit machines and test for it | Jason A. Donenfeld | 2021-02-09 | 1 | -2/+1 |
| | | | | | | | | | 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> | ||||
* | device: use a waiting sync.Pool instead of a channel | Jason A. Donenfeld | 2021-02-02 | 1 | -1/+0 |
| | | | | | | Channels are FIFO which means we have guaranteed cache misses. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | device: use int64 instead of atomic.Value for time stamp | Jason A. Donenfeld | 2021-01-29 | 1 | -0/+67 |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |