Searched refs:avoid_reserve (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/Documentation/translations/zh_CN/mm/ |
D | hugetlbfs_reserv.rst | 150 unsigned long addr, int avoid_reserve) 153 此外,alloc_hugetlb_folio需要一个参数avoid_reserve,该参数表示即使看起来已经为指定的地址预留了 154 预留,也不应该使用预留。avoid_reserve参数最常被用于写时拷贝和页面迁移的情况下,即现有页面的额 162 则可将其中一个用于该分配。然而,在任何情况下,avoid_reserve参数都会优先考虑为分配使用预留。在 166 - avoid_reserve,这是传递给alloc_hugetlb_folio()的同一个值/参数。
|
/Linux-v6.6/include/linux/ |
D | hugetlb.h | 748 unsigned long addr, int avoid_reserve); 1051 int avoid_reserve)
|
/Linux-v6.6/Documentation/mm/ |
D | hugetlbfs_reserv.rst | 185 unsigned long addr, int avoid_reserve) 189 alloc_hugetlb_folio takes the argument avoid_reserve which indicates reserves 191 specified address. The avoid_reserve argument is most often used in the case 204 However, in every case the avoid_reserve argument overrides the use of 209 - avoid_reserve, this is the same value/argument passed to
|
/Linux-v6.6/mm/ |
D | hugetlb.c | 1391 unsigned long address, int avoid_reserve, in dequeue_hugetlb_folio_vma() argument 1409 if (avoid_reserve && !available_huge_pages(h)) in dequeue_hugetlb_folio_vma() 1427 if (folio && !avoid_reserve && vma_has_reserves(vma, chg)) { in dequeue_hugetlb_folio_vma() 3038 unsigned long addr, int avoid_reserve) in alloc_hugetlb_folio() argument 3066 if (map_chg || avoid_reserve) { in alloc_hugetlb_folio() 3081 if (avoid_reserve) in alloc_hugetlb_folio() 3087 deferred_reserve = map_chg || avoid_reserve; in alloc_hugetlb_folio() 3105 folio = dequeue_hugetlb_folio_vma(h, vma, addr, avoid_reserve, gbl_chg); in alloc_hugetlb_folio() 3112 if (!avoid_reserve && vma_has_reserves(vma, gbl_chg)) { in alloc_hugetlb_folio() 3162 if (map_chg || avoid_reserve) in alloc_hugetlb_folio()
|