Home
last modified time | relevance | path

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

/linux-6.12.1/mm/damon/tests/
Dcore-kunit.h430 .start = DAMON_MIN_REGION * 2, .end = DAMON_MIN_REGION * 6}; in damos_test_filter_out()
433 r = damon_new_region(DAMON_MIN_REGION * 3, DAMON_MIN_REGION * 5); in damos_test_filter_out()
441 r->ar.start = DAMON_MIN_REGION * 1; in damos_test_filter_out()
442 r->ar.end = DAMON_MIN_REGION * 2; in damos_test_filter_out()
447 r->ar.start = DAMON_MIN_REGION * 6; in damos_test_filter_out()
448 r->ar.end = DAMON_MIN_REGION * 8; in damos_test_filter_out()
453 r->ar.start = DAMON_MIN_REGION * 1; in damos_test_filter_out()
454 r->ar.end = DAMON_MIN_REGION * 4; in damos_test_filter_out()
457 KUNIT_EXPECT_EQ(test, r->ar.start, DAMON_MIN_REGION * 1); in damos_test_filter_out()
458 KUNIT_EXPECT_EQ(test, r->ar.end, DAMON_MIN_REGION * 2); in damos_test_filter_out()
[all …]
/linux-6.12.1/mm/damon/
Dvaddr.c21 #undef DAMON_MIN_REGION
22 #define DAMON_MIN_REGION 1 macro
76 sz_piece = ALIGN_DOWN(sz_orig / nr_pieces, DAMON_MIN_REGION); in damon_va_evenly_split_region()
160 regions[0].start = ALIGN(start, DAMON_MIN_REGION); in __damon_va_three_regions()
161 regions[0].end = ALIGN(first_gap.start, DAMON_MIN_REGION); in __damon_va_three_regions()
162 regions[1].start = ALIGN(first_gap.end, DAMON_MIN_REGION); in __damon_va_three_regions()
163 regions[1].end = ALIGN(second_gap.start, DAMON_MIN_REGION); in __damon_va_three_regions()
164 regions[2].start = ALIGN(second_gap.end, DAMON_MIN_REGION); in __damon_va_three_regions()
165 regions[2].end = ALIGN(prev->vm_end, DAMON_MIN_REGION); in __damon_va_three_regions()
258 if (sz < DAMON_MIN_REGION) in __damon_va_init_regions()
[all …]
Dcore.c22 #undef DAMON_MIN_REGION
23 #define DAMON_MIN_REGION 1 macro
248 DAMON_MIN_REGION), in damon_set_regions()
249 ALIGN(range->end, DAMON_MIN_REGION)); in damon_set_regions()
256 DAMON_MIN_REGION); in damon_set_regions()
257 last->ar.end = ALIGN(range->end, DAMON_MIN_REGION); in damon_set_regions()
1036 if (sz < DAMON_MIN_REGION) in damon_region_sz_limit()
1037 sz = DAMON_MIN_REGION; in damon_region_sz_limit()
1250 r->ar.start, DAMON_MIN_REGION); in damos_skip_charged_region()
1252 if (damon_sz_region(r) <= DAMON_MIN_REGION) in damos_skip_charged_region()
[all …]
/linux-6.12.1/include/linux/
Ddamon.h18 #define DAMON_MIN_REGION PAGE_SIZE macro