Commit a30ba5b6 authored by Ma Wupeng's avatar Ma Wupeng Committed by Yongqiang Liu
Browse files

mm: Disable watermark check if reliable fallback is disabled

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S


CVE: NA

--------------------------------

If memory reliable watermark is far greater than zone's default watermark,
reliable memory allocation will trigger oom without wake up kswapd to
release pagecache.

With this patch, memory reliable watermark will be disabled if memory
fallback is disabled.

Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 875ffd41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment