> >> @@ -2504,6 +2498,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct
> >> vm_area_struct *vma,
> >>struct hstate *h = hstate_vma(vma);
> >>struct page *old_page, *new_page;
> >>int outside_reserve = 0;
> >> + long chg;
> >> + bool use_reserve;
> >>unsigned long
@@ -2504,6 +2498,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct
vm_area_struct *vma,
struct hstate *h = hstate_vma(vma);
struct page *old_page, *new_page;
int outside_reserve = 0;
+ long chg;
+ bool use_reserve;
unsigned long mmun_start; /* For
"Aneesh Kumar K.V" writes:
> Joonsoo Kim writes:
>
>> In order to validate that this failure is reasonable, we need to know
>> whether allocation request is for reserved or not on caller function.
>> So moving vma_needs_reservation() up to the caller of alloc_huge_page().
>> There is no
Joonsoo Kim writes:
> In order to validate that this failure is reasonable, we need to know
> whether allocation request is for reserved or not on caller function.
> So moving vma_needs_reservation() up to the caller of alloc_huge_page().
> There is no functional change in this patch and
Joonsoo Kim iamjoonsoo@lge.com writes:
In order to validate that this failure is reasonable, we need to know
whether allocation request is for reserved or not on caller function.
So moving vma_needs_reservation() up to the caller of alloc_huge_page().
There is no functional change in this
Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com writes:
Joonsoo Kim iamjoonsoo@lge.com writes:
In order to validate that this failure is reasonable, we need to know
whether allocation request is for reserved or not on caller function.
So moving vma_needs_reservation() up to the caller
In order to validate that this failure is reasonable, we need to know
whether allocation request is for reserved or not on caller function.
So moving vma_needs_reservation() up to the caller of alloc_huge_page().
There is no functional change in this patch and following patch use
this information.
In order to validate that this failure is reasonable, we need to know
whether allocation request is for reserved or not on caller function.
So moving vma_needs_reservation() up to the caller of alloc_huge_page().
There is no functional change in this patch and following patch use
this information.
8 matches
Mail list logo