Searched refs:nr_accesses (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/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-5.19.10/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 | 128 region->nr_accesses = 0; in damon_new_region() 654 r->last_nr_accesses = r->nr_accesses; in kdamond_reset_aggregated() 655 r->nr_accesses = 0; in kdamond_reset_aggregated() 671 s->min_nr_accesses <= r->nr_accesses && in __damos_valid_target() 672 r->nr_accesses <= s->max_nr_accesses && in __damos_valid_target() 871 l->nr_accesses = (l->nr_accesses * sz_l + r->nr_accesses * sz_r) / in damon_merge_two_regions() 891 if (abs(r->nr_accesses - r->last_nr_accesses) > thres) in damon_merge_regions_of() 897 abs(prev->nr_accesses - r->nr_accesses) <= thres && in damon_merge_regions_of()
|
D | paddr.c | 180 r->nr_accesses++; in __damon_pa_check_access() 186 r->nr_accesses++; in __damon_pa_check_access() 200 max_nr_accesses = max(r->nr_accesses, max_nr_accesses); in damon_pa_check_accesses()
|
D | sysfs.c | 405 unsigned int nr_accesses; member 410 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 419 weights->nr_accesses = nr_accesses; in damon_sysfs_weights_alloc() 451 return sysfs_emit(buf, "%u\n", weights->nr_accesses); in nr_accesses_permil_show() 459 int err = kstrtouint(buf, 0, &weights->nr_accesses); in nr_accesses_permil_store() 653 struct damon_sysfs_ul_range *nr_accesses; member 699 &access_pattern->nr_accesses, "nr_accesses"); in damon_sysfs_access_pattern_add_dirs() 713 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_add_dirs() 714 access_pattern->nr_accesses = NULL; in damon_sysfs_access_pattern_add_dirs() 725 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_rm_dirs() [all …]
|
D | ops-common.c | 103 freq_subscore = r->nr_accesses * DAMON_MAX_SUBSCORE / max_nr_accesses; in damon_pageout_score()
|
D | vaddr.c | 547 r->nr_accesses++; in __damon_va_check_access() 553 r->nr_accesses++; in __damon_va_check_access() 572 max_nr_accesses = max(r->nr_accesses, max_nr_accesses); in damon_va_check_accesses()
|
/linux-5.19.10/Documentation/translations/zh_CN/vm/damon/ |
D | design.rst | 95 nr_accesses[page] += 1 98 callback(monitoring_target, nr_accesses) 100 nr_accesses[page] = 0
|
/linux-5.19.10/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 79 │ │ │ │ │ │ │ │ nr_accesses/min,max 221 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 222 每个目录有两个文件(``min`` 和 ``max`` )。你可以通过向 ``sz``, ``nr_accesses``, 和 290 # echo 0 > access_patterns/nr_accesses/min 291 # echo 5 > access_patterns/nr_accesses/max
|
/linux-5.19.10/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-5.19.10/Documentation/vm/damon/ |
D | design.rst | 117 nr_accesses[page] += 1 120 callback(monitoring_target, nr_accesses) 122 nr_accesses[page] = 0
|
/linux-5.19.10/include/linux/ |
D | damon.h | 53 unsigned int nr_accesses; member
|
/linux-5.19.10/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 85 │ │ │ │ │ │ │ │ nr_accesses/min,max 278 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 281 ``nr_accesses``, and ``age`` directories, respectively. 369 # echo 0 > access_patterns/nr_accesses/min 370 # echo 5 > access_patterns/nr_accesses/max
|