diff options
| author | Haifeng Xu <haifeng.xu@shopee.com> | 2023-05-08 07:35:38 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-09 16:25:20 -0700 |
| commit | 4822acb1369637938c1252d534d3356c5e313cde (patch) | |
| tree | e45734fd9773828ef540cf9fdac7e8ccfd37dcc3 /include/linux/stackprotector.h | |
| parent | 97de10a9932c363a4e4ee9bb5f2297e254fb1413 (diff) | |
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
