Home
last modified time | relevance | path

Searched refs:kdamonds (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon14 What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
19 named '0' to 'N-1' under the kdamonds/ directory.
21 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/state
37 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
43 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
50 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
56 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
69 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
76 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
83 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
[all …]
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst49 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
50 # echo vaddr > kdamonds/0/contexts/0/operations
51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
52 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target
53 # echo on > kdamonds/0/state
62kdamonds/nr_kdamonds
99 kdamonds/
103 执行每个上下文,多个kdamonds可以并行运行。
105 在 ``admin`` 目录下,有一个目录,即``kdamonds``,它有控制kdamonds的文件存在。在开始
109 kdamonds/<N>/
[all …]
/openbmc/linux/mm/damon/
H A Dsysfs.c1622 static void damon_sysfs_kdamonds_rm_dirs(struct damon_sysfs_kdamonds *kdamonds) in damon_sysfs_kdamonds_rm_dirs() argument
1624 struct damon_sysfs_kdamond **kdamonds_arr = kdamonds->kdamonds_arr; in damon_sysfs_kdamonds_rm_dirs()
1627 for (i = 0; i < kdamonds->nr; i++) { in damon_sysfs_kdamonds_rm_dirs()
1631 kdamonds->nr = 0; in damon_sysfs_kdamonds_rm_dirs()
1633 kdamonds->kdamonds_arr = NULL; in damon_sysfs_kdamonds_rm_dirs()
1636 static bool damon_sysfs_kdamonds_busy(struct damon_sysfs_kdamond **kdamonds, in damon_sysfs_kdamonds_busy() argument
1642 if (damon_sysfs_kdamond_running(kdamonds[i]) || in damon_sysfs_kdamonds_busy()
1643 damon_sysfs_cmd_request.kdamond == kdamonds[i]) in damon_sysfs_kdamonds_busy()
1650 static int damon_sysfs_kdamonds_add_dirs(struct damon_sysfs_kdamonds *kdamonds, in damon_sysfs_kdamonds_add_dirs() argument
1656 if (damon_sysfs_kdamonds_busy(kdamonds->kdamonds_arr, kdamonds->nr)) in damon_sysfs_kdamonds_add_dirs()
[all …]
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
51 # echo vaddr > kdamonds/0/contexts/0/operations
52 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
53 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target
54 # echo on > kdamonds/0/state
65kdamonds/nr_kdamonds
105 kdamonds/
110 called kdamond, and multiple kdamonds could run in parallel.
112 Under the ``admin`` directory, one directory, ``kdamonds``, which has files for
113 controlling the kdamonds exist. In the beginning, this directory has only one
[all …]