Skip to contentSkip to conversation

eventpoll: align comment with nested epoll limitation

PATCH Applied Changcheng Liu 2 participants 2 messages Mar 12, 2023 – Mar 13, 2023 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eventpoll: align comment with nested epoll limitation

fix comment in commit 02edc6fc4d5f ("epoll: comment the funky #ifdef")

fs/eventpoll.c +2 -2
index 64659b110973..f6d25050dd7a 100644
@@ -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.
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw

From: Christian Brauner (Microsoft) <[email protected]>

Quoted 3 lines · Changcheng Liu

fix comment in commit 02edc6fc4d5f ("epoll: comment the funky #ifdef")

Applied, thanks!

tree: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
branch: fs.misc
[1/1] eventpoll: align comment with nested epoll limitation

      commit: 7059a9aa4b6b8c6daf257a3978a4d8c476c29a96