simplify epoll event accounting