[PATCH 1/9] epoll: Generalize epoll_ref to cover things other than sockets