[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57b6c0a4-285e-e429-2e87-41b5079974e1@virtuozzo.com>
Date: Fri, 13 Dec 2019 10:37:59 +0300
From: Kirill Tkhai <ktkhai@...tuozzo.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, axboe@...nel.dk,
pankaj.laxminarayan.bharadiya@...el.com, keescook@...omium.org,
viro@...iv.linux.org.uk, hare@...e.com, tglx@...utronix.de,
edumazet@...gle.com, arnd@...db.de
Subject: Re: [PATCH net-next v2 0/2] unix: Show number of scm files in fdinfo
On 13.12.2019 04:05, David Miller wrote:
> From: Kirill Tkhai <ktkhai@...tuozzo.com>
> Date: Mon, 09 Dec 2019 13:03:34 +0300
>
>> v2: Pass correct argument to locked in patch [2/2].
>>
>> Unix sockets like a block box. You never know what is pending 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 patchset makes number of pending scm files be visible in fdinfo.
>> This may be useful to determine, that socket should be investigated
>> or which task should be killed to put a reference counter on a resourse.
>>
>> $cat /proc/[pid]/fdinfo/[unix_sk_fd] | grep scm_fds
>> scm_fds: 1
>
> Series applied.
Thanks, David.
Powered by blists - more mailing lists