[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161107.132458.256635426505538931.davem@davemloft.net>
Date: Mon, 07 Nov 2016 13:24:58 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com,
hannes@...essinduktion.org, linux-nfs@...r.kernel.org
Subject: Re: [PATCH net-next 0/2] udp: do fwd memory scheduling on dequeue
From: Paolo Abeni <pabeni@...hat.com>
Date: Fri, 4 Nov 2016 11:28:57 +0100
> After commit 850cbaddb52d ("udp: use it's own memory accounting schema"),
> the udp code needs to acquire twice the receive queue spinlock on dequeue.
>
> This patch series remove the need for the second lock at skb free time,
> moving the udp memory scheduling inside the dequeue operation; the skb
> destructor field is not used anymore and an additional sk argument is added
> to ip_cmsg_recv_offset() to cope with null skb->sk after dequeue.
>
> Many thanks to Eric Dumazed for suggesting pretty all much the above.
Series applied, thanks.
Powered by blists - more mailing lists