Home
last modified time | relevance | path

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

/linux/mm/damon/
H A Dvaddr.c119 struct damon_addr_range first_gap = {0}, second_gap = {0}; in __damon_va_three_regions() local
140 second_gap = first_gap; in __damon_va_three_regions()
143 } else if (gap > sz_range(&second_gap)) { in __damon_va_three_regions()
144 second_gap.start = prev->vm_end; in __damon_va_three_regions()
145 second_gap.end = vma->vm_start; in __damon_va_three_regions()
152 if (!sz_range(&second_gap) || !sz_range(&first_gap)) in __damon_va_three_regions()
156 if (first_gap.start > second_gap.start) in __damon_va_three_regions()
157 swap(first_gap, second_gap); 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()