Re: [PATCH RFC 21/30] hugetlb: Pass vma into huge_pte_alloc()

2021-01-30 Thread Axel Rasmussen
On Fri, Jan 29, 2021 at 2:31 PM Peter Xu wrote: > > On Thu, Jan 28, 2021 at 02:59:13PM -0800, Axel Rasmussen wrote: > > > +pte_t *huge_pte_alloc(struct mm_struct *mm, structt vm_area_struct *vma, > > > > This was pointed out to me just after I sent v3 of my series today > > (which includes this pa

Re: [PATCH RFC 21/30] hugetlb: Pass vma into huge_pte_alloc()

2021-01-29 Thread Peter Xu
On Thu, Jan 28, 2021 at 02:59:13PM -0800, Axel Rasmussen wrote: > > +pte_t *huge_pte_alloc(struct mm_struct *mm, structt vm_area_struct *vma, > > This was pointed out to me just after I sent v3 of my series today > (which includes this patch): > > Typo, s/structt/struct/. Thanks Axel - fixed her

Re: [PATCH RFC 21/30] hugetlb: Pass vma into huge_pte_alloc()

2021-01-28 Thread Axel Rasmussen
On Fri, Jan 15, 2021 at 9:09 AM Peter Xu wrote: > > It is a preparation work to be able to behave differently in the per > architecture huge_pte_alloc() according to different VMA attributes. > > Signed-off-by: Peter Xu > --- > arch/arm64/mm/hugetlbpage.c | 2 +- > arch/ia64/mm/hugetlbpage.c

[PATCH RFC 21/30] hugetlb: Pass vma into huge_pte_alloc()

2021-01-15 Thread Peter Xu
It is a preparation work to be able to behave differently in the per architecture huge_pte_alloc() according to different VMA attributes. Signed-off-by: Peter Xu --- arch/arm64/mm/hugetlbpage.c | 2 +- arch/ia64/mm/hugetlbpage.c| 3 ++- arch/mips/mm/hugetlbpage.c| 4 ++-- arch/parisc/m