Re: [PATCH net-next 3/3] udp: keep the sk_receive_queue held when splicing

2017-05-15 Thread Paolo Abeni
On Mon, 2017-05-15 at 09:11 -0700, Eric Dumazet wrote: > On Mon, 2017-05-15 at 11:01 +0200, Paolo Abeni wrote: > > On packet reception, when we are forced to splice the > > sk_receive_queue, we can keep the related lock held, so > > that we can avoid re-acquiring it, if fwd memory > > scheduling is

Re: [PATCH net-next 3/3] udp: keep the sk_receive_queue held when splicing

2017-05-15 Thread Eric Dumazet
On Mon, 2017-05-15 at 11:01 +0200, Paolo Abeni wrote: > On packet reception, when we are forced to splice the > sk_receive_queue, we can keep the related lock held, so > that we can avoid re-acquiring it, if fwd memory > scheduling is required. > > Signed-off-by: Paolo Abeni > --- > net/ipv4/udp

[PATCH net-next 3/3] udp: keep the sk_receive_queue held when splicing

2017-05-15 Thread Paolo Abeni
On packet reception, when we are forced to splice the sk_receive_queue, we can keep the related lock held, so that we can avoid re-acquiring it, if fwd memory scheduling is required. Signed-off-by: Paolo Abeni --- net/ipv4/udp.c | 36 ++-- 1 file changed, 26 inser