Re: running UDP input in parallel

2023-02-27 Thread Hrvoje Popovski
On 22.8.2022. 15:07, Alexander Bluhm wrote: > On Sun, Aug 21, 2022 at 07:07:29PM +0200, Alexander Bluhm wrote: >> On Fri, Aug 19, 2022 at 10:54:42PM +0200, Alexander Bluhm wrote: >>> This diff allows to run udp_input() in parallel. > > Diff rebased to -current. Hi, is this diff still active? I

Re: running UDP input in parallel

2022-09-06 Thread Alexander Bluhm
On Fri, Aug 19, 2022 at 10:54:42PM +0200, Alexander Bluhm wrote: > This diff allows to run udp_input() in parallel. Parts have been commited, below is the diff for -current. With this diff UDP socket splicing does not work yet as udp_output() is not MP safe. Also calls from udp_input() to anywhe

Re: running UDP input in parallel

2022-08-22 Thread Alexander Bluhm
On Sun, Aug 21, 2022 at 07:07:29PM +0200, Alexander Bluhm wrote: > On Fri, Aug 19, 2022 at 10:54:42PM +0200, Alexander Bluhm wrote: > > This diff allows to run udp_input() in parallel. Diff rebased to -current. Index: kern/uipc_socket.c

Re: running UDP input in parallel

2022-08-21 Thread Alexander Bluhm
On Fri, Aug 19, 2022 at 10:54:42PM +0200, Alexander Bluhm wrote: > This diff allows to run udp_input() in parallel. It consists of > three major parts. > > - Use PR_MPSAFE flag to protocol deliver loop with shared > netlock. Queue packet and switch to deliver loop with exclusive > netlock, o

running UDP input in parallel

2022-08-19 Thread Alexander Bluhm
Hi, This diff allows to run udp_input() in parallel. It consists of three major parts. - Use PR_MPSAFE flag to protocol deliver loop with shared netlock. Queue packet and switch to deliver loop with exclusive netlock, of a protocol is not MP safe. - Use a rwlock to protect the inp_notify f