diff options
author | Haifeng Xu <haifeng.xu@shopee.com> | 2023-05-08 10:35:38 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 02:25:20 +0300 |
commit | 4822acb1369637938c1252d534d3356c5e313cde (patch) | |
tree | e45734fd9773828ef540cf9fdac7e8ccfd37dcc3 /fs/proc/task_mmu.c | |
parent | 97de10a9932c363a4e4ee9bb5f2297e254fb1413 (diff) | |
download | linux-4822acb1369637938c1252d534d3356c5e313cde.tar.xz |
mm, oom: do not check 0 mask in out_of_memory()
Since commit 60e2793d440a ("mm, oom: do not trigger out_of_memory from the
#PF"), no user sets gfp_mask to 0. Remove the 0 mask check and update the
comments.
Link: https://lkml.kernel.org/r/20230508073538.1168-1-haifeng.xu@shopee.com
Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc/task_mmu.c')
0 files changed, 0 insertions, 0 deletions