Searched refs:nr_accesses (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/include/trace/events/ |
D | damon.h | 24 __field(unsigned int, nr_accesses) 33 __entry->nr_accesses = r->nr_accesses; 40 __entry->nr_accesses, __entry->age)
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/damon/ |
D | design.rst | 95 nr_accesses[page] += 1 98 callback(monitoring_target, nr_accesses) 100 nr_accesses[page] = 0
|
/linux-6.1.9/mm/damon/ |
D | core-test.h | 25 KUNIT_EXPECT_EQ(test, 0u, r->nr_accesses); in damon_test_regions() 96 r->nr_accesses = accesses[it][ir]; in damon_test_aggregate() 107 KUNIT_EXPECT_EQ(test, 0u, r->nr_accesses); in damon_test_aggregate() 149 r->nr_accesses = 10; in damon_test_merge_two() 152 r2->nr_accesses = 20; in damon_test_merge_two() 158 KUNIT_EXPECT_EQ(test, r->nr_accesses, 16u); in damon_test_merge_two() 198 r->nr_accesses = nrs[i]; in damon_test_merge_regions_of()
|
D | core.c | 130 region->nr_accesses = 0; in damon_new_region() 663 r->last_nr_accesses = r->nr_accesses; in kdamond_reset_aggregated() 664 r->nr_accesses = 0; in kdamond_reset_aggregated() 680 s->pattern.min_nr_accesses <= r->nr_accesses && in __damos_valid_target() 681 r->nr_accesses <= s->pattern.max_nr_accesses && in __damos_valid_target() 875 l->nr_accesses = (l->nr_accesses * sz_l + r->nr_accesses * sz_r) / in damon_merge_two_regions() 895 if (abs(r->nr_accesses - r->last_nr_accesses) > thres) in damon_merge_regions_of() 901 abs(prev->nr_accesses - r->nr_accesses) <= thres && in damon_merge_regions_of()
|
D | paddr.c | 178 r->nr_accesses++; in __damon_pa_check_access() 184 r->nr_accesses++; in __damon_pa_check_access() 198 max_nr_accesses = max(r->nr_accesses, max_nr_accesses); in damon_pa_check_accesses()
|
D | sysfs.c | 397 unsigned int nr_accesses; member 402 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 411 weights->nr_accesses = nr_accesses; in damon_sysfs_weights_alloc() 441 return sysfs_emit(buf, "%u\n", weights->nr_accesses); in nr_accesses_permil_show() 449 int err = kstrtouint(buf, 0, &weights->nr_accesses); in nr_accesses_permil_store() 639 struct damon_sysfs_ul_range *nr_accesses; member 685 &access_pattern->nr_accesses, "nr_accesses"); in damon_sysfs_access_pattern_add_dirs() 699 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_add_dirs() 700 access_pattern->nr_accesses = NULL; in damon_sysfs_access_pattern_add_dirs() 711 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_rm_dirs() [all …]
|
D | vaddr.c | 557 r->nr_accesses++; in __damon_va_check_access() 563 r->nr_accesses++; in __damon_va_check_access() 583 max_nr_accesses = max(r->nr_accesses, max_nr_accesses); in damon_va_check_accesses()
|
D | ops-common.c | 103 freq_subscore = r->nr_accesses * DAMON_MAX_SUBSCORE / max_nr_accesses; in damon_hot_score()
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 79 │ │ │ │ │ │ │ │ nr_accesses/min,max 223 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 224 每个目录有两个文件(``min`` 和 ``max`` )。你可以通过向 ``sz``, ``nr_accesses``, 和 292 # echo 0 > access_patterns/nr_accesses/min 293 # echo 5 > access_patterns/nr_accesses/max
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 160 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/… 164 'nr_accesses' of the scheme's target regions. 166 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/… 170 'nr_accesses' of the scheme's target regions. 214 'nr_accesses' in permil.
|
/linux-6.1.9/Documentation/mm/damon/ |
D | design.rst | 117 nr_accesses[page] += 1 120 callback(monitoring_target, nr_accesses) 122 nr_accesses[page] = 0
|
/linux-6.1.9/include/linux/ |
D | damon.h | 53 unsigned int nr_accesses; member
|
/linux-6.1.9/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 85 │ │ │ │ │ │ │ │ nr_accesses/min,max 280 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 283 ``nr_accesses``, and ``age`` directories, respectively. 371 # echo 0 > access_pattern/nr_accesses/min 372 # echo 5 > access_pattern/nr_accesses/max
|