Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Doc/damon: fix the data path error

%s/modules/module/

Signed-off-by: Hui Su <suhui_kernel@163.com>
Reviewed-by: Alex Shi <alexsshi@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Link: https://lore.kernel.org/r/Y9Tm1FiKBPKA2Tcx@localhost.localdomain
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Hui Su and committed by
Jonathan Corbet
b05ada56 7ee6095f

+6 -6
+2 -2
Documentation/admin-guide/mm/damon/lru_sort.rst
··· 54 54 To let sysadmins enable or disable it and tune for the given system, 55 55 DAMON_LRU_SORT utilizes module parameters. That is, you can put 56 56 ``damon_lru_sort.<parameter>=<value>`` on the kernel boot command line or write 57 - proper values to ``/sys/modules/damon_lru_sort/parameters/<parameter>`` files. 57 + proper values to ``/sys/module/damon_lru_sort/parameters/<parameter>`` files. 58 58 59 59 Below are the description of each parameter. 60 60 ··· 283 283 20%, it asks DAMON_LRU_SORT to do nothing again, so that we can fall back to 284 284 the LRU-list based page granularity reclamation. :: 285 285 286 - # cd /sys/modules/damon_lru_sort/parameters 286 + # cd /sys/module/damon_lru_sort/parameters 287 287 # echo 500 > hot_thres_access_freq 288 288 # echo 120000000 > cold_min_age 289 289 # echo 10 > quota_ms
+2 -2
Documentation/admin-guide/mm/damon/reclaim.rst
··· 46 46 To let sysadmins enable or disable it and tune for the given system, 47 47 DAMON_RECLAIM utilizes module parameters. That is, you can put 48 48 ``damon_reclaim.<parameter>=<value>`` on the kernel boot command line or write 49 - proper values to ``/sys/modules/damon_reclaim/parameters/<parameter>`` files. 49 + proper values to ``/sys/module/damon_reclaim/parameters/<parameter>`` files. 50 50 51 51 Below are the description of each parameter. 52 52 ··· 251 251 do nothing again, so that we can fall back to the LRU-list based page 252 252 granularity reclamation. :: 253 253 254 - # cd /sys/modules/damon_reclaim/parameters 254 + # cd /sys/module/damon_reclaim/parameters 255 255 # echo 30000000 > min_age 256 256 # echo $((1 * 1024 * 1024 * 1024)) > quota_sz 257 257 # echo 1000 > quota_reset_interval_ms
+2 -2
Documentation/translations/zh_CN/admin-guide/mm/damon/reclaim.rst
··· 45 45 46 46 为了让系统管理员启用或禁用它,并为给定的系统进行调整,DAMON_RECLAIM利用了模块参数。也就 47 47 是说,你可以把 ``damon_reclaim.<parameter>=<value>`` 放在内核启动命令行上,或者把 48 - 适当的值写入 ``/sys/modules/damon_reclaim/parameters/<parameter>`` 文件。 48 + 适当的值写入 ``/sys/module/damon_reclaim/parameters/<parameter>`` 文件。 49 49 50 50 下面是每个参数的描述。 51 51 ··· 214 214 就开始真正的工作。如果DAMON_RECLAIM没有取得进展,因此空闲内存率低于20%,它会要求 215 215 DAMON_RECLAIM再次什么都不做,这样我们就可以退回到基于LRU列表的页面粒度回收了:: 216 216 217 - # cd /sys/modules/damon_reclaim/parameters 217 + # cd /sys/module/damon_reclaim/parameters 218 218 # echo 30000000 > min_age 219 219 # echo $((1 * 1024 * 1024 * 1024)) > quota_sz 220 220 # echo 1000 > quota_reset_interval_ms