[PATCH v3 05/13] epoll: Generalize epoll_ref to cover things other than sockets