Searched refs:avoid_reserve (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A 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()的同一个值/参数。
|
/openbmc/linux/include/linux/ |
H A D | hugetlb.h | 749 unsigned long addr, int avoid_reserve); 1054 int avoid_reserve)
|
/openbmc/linux/Documentation/mm/ |
H A 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
|
/openbmc/linux/mm/ |
H A D | hugetlb.c | 1398 unsigned long address, int avoid_reserve, in dequeue_hugetlb_folio_vma() argument 1416 if (avoid_reserve && !available_huge_pages(h)) in dequeue_hugetlb_folio_vma() 1434 if (folio && !avoid_reserve && vma_has_reserves(vma, chg)) { in dequeue_hugetlb_folio_vma() 3054 unsigned long addr, int avoid_reserve) in alloc_hugetlb_folio() argument 3082 if (map_chg || avoid_reserve) { in alloc_hugetlb_folio() 3094 * However, if avoid_reserve is specified we still avoid even in alloc_hugetlb_folio() 3097 if (avoid_reserve) in alloc_hugetlb_folio() 3103 deferred_reserve = map_chg || avoid_reserve; in alloc_hugetlb_folio() 3121 folio = dequeue_hugetlb_folio_vma(h, vma, addr, avoid_reserve, gbl_chg); in alloc_hugetlb_folio() 3128 if (!avoid_reserve in alloc_hugetlb_folio() [all...] |