Home
last modified time | relevance | path

Searched hist:"3 c32da19a858fb1ae8a76bf899160be49f338506" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Daf_unix.hdiff 3c32da19a858fb1ae8a76bf899160be49f338506 Mon Dec 09 04:03:46 CST 2019 Kirill Tkhai <ktkhai@virtuozzo.com> unix: Show number of pending scm files of receive queue in fdinfo

Unix sockets like a block box. You never know what is stored there:
there may be a file descriptor holding a mount or a block device,
or there may be whole universes with namespaces, sockets with receive
queues full of sockets etc.

The patch adds a little debug and accounts number of files (not recursive),
which is in receive queue of a unix socket. Sometimes this is useful
to determine, that socket should be investigated or which task should
be killed to put reference counter on a resourse.

v2: Pass correct argument to lockdep

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/unix/
H A Daf_unix.cdiff 3c32da19a858fb1ae8a76bf899160be49f338506 Mon Dec 09 04:03:46 CST 2019 Kirill Tkhai <ktkhai@virtuozzo.com> unix: Show number of pending scm files of receive queue in fdinfo

Unix sockets like a block box. You never know what is stored there:
there may be a file descriptor holding a mount or a block device,
or there may be whole universes with namespaces, sockets with receive
queues full of sockets etc.

The patch adds a little debug and accounts number of files (not recursive),
which is in receive queue of a unix socket. Sometimes this is useful
to determine, that socket should be investigated or which task should
be killed to put reference counter on a resourse.

v2: Pass correct argument to lockdep

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>