From: Changcheng Liu Date: Sun, 12 Mar 2023 09:25:22 +0000 (+0800) Subject: eventpoll: align comment with nested epoll limitation X-Git-Tag: v6.6.7~3059^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7059a9aa4b6b8c6daf257a3978a4d8c476c29a96;p=platform%2Fkernel%2Flinux-starfive.git eventpoll: align comment with nested epoll limitation fix comment in commit 02edc6fc4d5f ("epoll: comment the funky #ifdef") Signed-off-by: Liu, Changcheng Signed-off-by: Christian Brauner (Microsoft) --- diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 64659b110973..f6d25050dd7a 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -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.