eventpoll: align comment with nested epoll limitation
authorChangcheng Liu <changchengx.liu@outlook.com>
Sun, 12 Mar 2023 09:25:22 +0000 (17:25 +0800)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Mon, 13 Mar 2023 09:33:28 +0000 (10:33 +0100)
fix comment in commit 02edc6fc4d5f ("epoll: comment the funky #ifdef")

Signed-off-by: Liu, Changcheng <changchengx.liu@outlook.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
fs/eventpoll.c

index 64659b1..f6d2505 100644 (file)
@@ -483,8 +483,8 @@ static inline void ep_set_busy_poll_napi_id(struct epitem *epi)
  * (efd1) notices that it may have some event ready, so it needs to wake up
  * the waiters on its poll wait list (efd2). So it calls ep_poll_safewake()
  * that ends up in another wake_up(), after having checked about the
- * recursion constraints. That are, no more than EP_MAX_POLLWAKE_NESTS, to
- * avoid stack blasting.
+ * recursion constraints. That are, no more than EP_MAX_NESTS, to avoid
+ * stack blasting.
  *
  * When CONFIG_DEBUG_LOCK_ALLOC is enabled, make sure lockdep can handle
  * this special case of epoll.