Searched refs:kdamonds (Results 1 – 4 of 4) sorted by relevance
14 What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds19 named '0' to 'N-1' under the kdamonds/ directory.21 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/state37 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid43 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts50 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations56 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations69 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us76 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us83 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us[all …]
49 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts50 # echo vaddr > kdamonds/0/contexts/0/operations51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets52 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target53 # echo on > kdamonds/0/state62 │ kdamonds/nr_kdamonds99 kdamonds/103 执行每个上下文,多个kdamonds可以并行运行。105 在 ``admin`` 目录下,有一个目录,即``kdamonds``,它有控制kdamonds的文件存在。在开始109 kdamonds/<N>/[all …]
1622 static void damon_sysfs_kdamonds_rm_dirs(struct damon_sysfs_kdamonds *kdamonds) in damon_sysfs_kdamonds_rm_dirs() argument1624 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() argument1642 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() argument1656 if (damon_sysfs_kdamonds_busy(kdamonds->kdamonds_arr, kdamonds->nr)) in damon_sysfs_kdamonds_add_dirs()[all …]
50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts51 # echo vaddr > kdamonds/0/contexts/0/operations52 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets53 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target54 # echo on > kdamonds/0/state65 │ kdamonds/nr_kdamonds105 kdamonds/110 called kdamond, and multiple kdamonds could run in parallel.112 Under the ``admin`` directory, one directory, ``kdamonds``, which has files for113 controlling the kdamonds exist. In the beginning, this directory has only one[all …]