Commit 3b3608e0 authored by Liu Shixin's avatar Liu Shixin Committed by Yang Yingliang
Browse files

mm/vmscan: setup drop_caches_loop_limit in cmdline



hulk inclusion
category: bugfix
bugzilla: 175105
CVE: NA

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

When !CONFIG_SYSCTL, drop_caches_loop_limit is invisible.
Add cmdline "drop_caches_loop_limit=" to set it.
This parameter can limit the number of loops per node.

Fixes: ceb5620e ("mm/vmscan: add drop_caches_loop_limit to break loop in drop_slab_node")
Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 47caf84f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment