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

Michal Hocko mhocko at suse.com
Thu Jun 9 15:54:07 UTC 2022


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


More information about the amd-gfx mailing list