summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-04-14 20:46:28 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-04-14 20:46:28 +0000
commit5c6d6b35e40181740a26e9b53e8c934b8f820e5d (patch)
tree1406a2b67b327c4dde0521608fad64bb439002c7 /sys/uvm
parentcf13447ce05de37c8d9cbd1c36f316eb371b7eab (diff)
Run raw IP input in parallel.
Running raw IPv4 input with shared net lock in parallel is less complex than UDP. Especially there is no socket splicing. New ip_deliver() may run with shared or exclusive net lock. The last parameter indicates the mode. If is is running with shared netlock and encounters a protocol that needs exclusive lock, the packet is queued. Old ip_ours() always queued the packet. Now it calls ip_deliver() with shared net lock, and if that cannot handle the packet completely, the packet is queued and later processed with exclusive net lock. In case of an IPv6 header chain, that switches from shared to exclusive processing, the next protocol and mbuf offset are stored in a mbuf tag. OK mvs@
Diffstat (limited to 'sys/uvm')
0 files changed, 0 insertions, 0 deletions