Skip to content
Commit 934c2999 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Jakub Kicinski
Browse files

net: micro-optimize skb_datagram_iter



We only use the mapping in a single context in a short and contained scope,
so kmap_local_page is sufficient and cheaper. This will also allow
skb_datagram_iter to be called from softirq context.

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20240613113504.1079860-1-sagi@grimberg.me
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent abef8495
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment