microsoft / microsoft/ebpf-for-windows
Perf-event array : Clean up race condition fix in #5229
Open
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
Assessment
This issue has not been assessed yet.