]> git.baikalelectronics.ru Git - kernel.git/commit
mm: delete unused MMF_OOM_VICTIM flag
authorSuren Baghdasaryan <surenb@google.com>
Tue, 31 May 2022 22:31:00 +0000 (15:31 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Sep 2022 02:46:27 +0000 (19:46 -0700)
commit5367675c04598424c710666c3b3bd972ac7a099c
treec6d90d477eb35a2fdbf17bfe425866156195f460
parent8c0026d6560235114f34b9b5e82a658d97586b72
mm: delete unused MMF_OOM_VICTIM flag

With the last usage of MMF_OOM_VICTIM in exit_mmap gone, this flag is now
unused and can be removed.

[akpm@linux-foundation.org: remove comment about now-removed mm_is_oom_victim()]
Link: https://lkml.kernel.org/r/20220531223100.510392-2-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Christian Brauner (Microsoft) <brauner@kernel.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Liam Howlett <liam.howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/oom.h
include/linux/sched/coredump.h
mm/mmap.c
mm/oom_kill.c