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
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
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
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
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