Write numbered user records from one CPU until they have started four
fresh log buffers, and require every number to be read back in order.
A user record is 24 bytes. With the default 256 KiB buffers,
262144 = 10922 * 24 + 16, so every 10923rd record does not fit and
starts a fresh buffer. The case is skipped when the buffer size is a
multiple of 24 bytes, since the records then fill each buffer exactly.
The owner has no PMC, so the test needs no hardware counter.
Signed-off-by: Davi Chaves Azevedo <dchavesa@amd.com>
Sponsored by: Advanced Micro Devices, Inc.