Re: [PATCH 03/13] mm: shmem: provide oom badness for shmem files

From: Michal Hocko
Date: Thu Jun 09 2022 - 11:54:18 EST


On Thu 09-06-22 17:22:14, Christian König wrote:
[...]
> Those files were never part of any filesystem in the first place, so by
> killing all the process referencing them you can indeed free the memory
> locked by them.

Yes, this would require the oom killer to understand that all processes
referencing that file are killed. Theoretically possible but I am not
sure a feasible solution.
--
Michal Hocko
SUSE Labs