Thread (12 messages) 12 messages, 5 authors, 2021-01-28

Re: [PATCH] procfs/dmabuf: Add /proc/<pid>/task/<tid>/dmabuf_fds

From: Michal Hocko <mhocko@suse.com>
Date: 2021-01-27 11:29:46
Also in: dri-devel, linux-api, linux-fsdevel, linux-media, lkml

On Wed 27-01-21 12:01:55, Christian König wrote:
[...]
Some years ago I've proposed an change to improve the OOM killer to take
into account how much memory is reference through special file descriptors
like device drivers or DMA-buf.

But that never want anywhere because of concerns that this would add to much
overhead to the OOM killer.
I have to admit I do not remember such a discussion. There were many on
the related topic, concerns were mostly about a proper accounting of
shared resources or locking required to gain the information. I do not
remember overhead as being the main concern as oom is a real cold path.

Anyway, if you want to revamp those patches then feel free to CC me and
we can discuss further. I do not want to hijack this thread by an
unrelated topic.
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help