Skip to content

epoll's datapath #2662

Answered by thhous-msft
rpenaran asked this question in Q&A
Apr 27, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The whole reason for the while true was because we were using edge triggered epoll events. We actually found last week there is a potential for a race using edge triggered events, so I have an open PR (#2655) to switch to level triggered. Once that got merged, I knew that the while true was a potential issue, so my plan was to remove it and only loop a few times before switching to the next event.

The whole reason for the while true was using edge triggering. Not for performance reasons.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rpenaran
Comment options

Answer selected by rpenaran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants