> Date: Mon, 21 Aug 2017 15:35:30 +0200
> From: Martin Pieuchot
>
> On 21/08/17(Mon) 15:33, Martin Pieuchot wrote:
> > I'd like to reduce the number of blocking memory allocations holding
> > the NET_LOCK().
> >
> > Diff below moves m_get(M_WAIT) before grabbing the socket lock for
> > sogetopt(
On 21/08/17(Mon) 15:33, Martin Pieuchot wrote:
> I'd like to reduce the number of blocking memory allocations holding
> the NET_LOCK().
>
> Diff below moves m_get(M_WAIT) before grabbing the socket lock for
> sogetopt().
Diff below includes the prototype change.
ok?
Index: kern/uipc_socket.c
==
I'd like to reduce the number of blocking memory allocations holding
the NET_LOCK().
Diff below moves m_get(M_WAIT) before grabbing the socket lock for
sogetopt().
ok?
Index: kern/uipc_socket.c
===
RCS file: /cvs/src/sys/kern/uipc_s