summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-28 11:13:47 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-28 11:13:47 -0400
commit3a6b7ca87129a995f0b3d7ddb0ea7c9893d430c0 (patch)
tree2545f6751783aecb322d47e8be0bb100bce4a868 /kernel/Makefile
parent30f3363286f541198da174cc7508706484dbbee6 (diff)
downloadopen-iov-3a6b7ca87129a995f0b3d7ddb0ea7c9893d430c0.tar.gz
open-iov-3a6b7ca87129a995f0b3d7ddb0ea7c9893d430c0.zip
sema: clamp the pin-rewind at ring start - never wrap below zero
The rewind used entries - (N - get) for get < N, which for an empty ring (get=0, put=0) jumped last_get to entries-8, so the pump read ring slots the producer had never reached and could execute stale/garbage entries. Replay only recently consumed slots, clamped at 0.
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions