diff options
author | Changcheng Liu <changchengx.liu@outlook.com> | 2023-03-12 10:25:22 +0100 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2023-03-13 10:33:28 +0100 |
commit | 7059a9aa4b6b8c6daf257a3978a4d8c476c29a96 (patch) | |
tree | 3d344761c664390a8002a23727ec6ba8e2da909a /fs/eventpoll.c | |
parent | Linux 6.3-rc2 (diff) | |
download | linux-7059a9aa4b6b8c6daf257a3978a4d8c476c29a96.tar.xz linux-7059a9aa4b6b8c6daf257a3978a4d8c476c29a96.zip |
eventpoll: align comment with nested epoll limitation
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>
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. |