]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
eventpoll: Convert epoll_put_uevent() to scoped user access
authorEric Dumazet <edumazet@google.com>
Sat, 7 Mar 2026 20:07:15 +0000 (20:07 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Mar 2026 23:03:14 +0000 (15:03 -0800)
commit1954c4f012206147c34acda8da04f827aa7d3ee3
tree49d682b2b3865d8758fa30926ed55d839e97f75d
parent3b5d535c635cbf88dbb63231cbae265b22e6a5f5
eventpoll: Convert epoll_put_uevent() to scoped user access

Saves two function calls, and one stac/clac pair.

stac/clac is rather expensive on older cpus like Zen 2.

A synthetic network stress test gives a ~1.5% increase of pps
on AMD Zen 2.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/eventpoll.h