Skip to content

perf(keyboard): simplify IRQ ring-buffer wraparound - #2

Draft
MokiMeow wants to merge 3 commits into
mainfrom
perf/ringbuf-wrap-20261012
Draft

MokiMeow wants to merge 3 commits into
mainfrom
perf/ringbuf-wrap-20261012

Conversation

@MokiMeow

Copy link
Copy Markdown
Owner

Replace modulo-based head/tail advances with a bounded comparison and branch. Maintains the 128-slot ring buffer, one-slot-empty full detection, and FIFO ordering. The callback runs in the PS/2 interrupt path. Update keyboard documentation and changelog. Requires QEMU boot and self-test validation before merge. No existing behavior or format changes. No automatic merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant