Skip to content
Commit 82668f67 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin
Browse files

util: epoll_run: fix event processing loop



The number of pending events returned by epoll_wait is overridden by the
first call to an event handler. Using an additional local variable resolves
this issue.

travis-ci: success for lazy-pages: add non-#PF events handling
Signed-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent e5b4fcb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment