[RFC PATCH 1/5] epoll: remove ep_call_nested() from ep_eventpoll_poll()

2015-01-15 Thread Jason Baron
The use of ep_call_nested() in ep_eventpoll_poll(), which is the .poll routine for an epoll fd, is used to prevent excessively deep epoll nesting, and to prevent circular paths. However, we are already preventing circular paths during EPOLL_CTL_ADD. In terms of too deep epoll chains, we do in fact

[RFC PATCH 1/5] epoll: remove ep_call_nested() from ep_eventpoll_poll()

2015-01-15 Thread Jason Baron
The use of ep_call_nested() in ep_eventpoll_poll(), which is the .poll routine for an epoll fd, is used to prevent excessively deep epoll nesting, and to prevent circular paths. However, we are already preventing circular paths during EPOLL_CTL_ADD. In terms of too deep epoll chains, we do in fact