microsoft / microsoft/ebpf-for-windows

Perf-event array : Clean up race condition fix in #5229

Open
#5,352 1 comment 0 reactions 1 assignee Assigned to @mikeagun View on GitHub
optimization P3 triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

#5229 fixed several OOB accesses and race conditions in the ring buffer and perf event array.

It introduced an additional IOCTL call during `free` through (to report consumer offset update).

This adds complexity to validate the code, and we will be deprecating the async callbacks, so should come up with a simpler solution and remove the additional IOCTL call during cleanup if possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.