Re: [PATCH 7/7] mm/mremap: thread state through move page table operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 03, 2025 at 04:12:56PM -0800, Andrew Morton wrote:
> On Mon, 3 Mar 2025 16:05:55 -0800 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > --- a/mm/mremap.c~mm-mremap-thread-state-through-move-page-table-operation-fix
> > +++ a/mm/mremap.c
> > @@ -475,8 +475,9 @@ static bool move_huge_pud(struct pagetab
> >  	return true;
> >  }
> >  #else
> > -static bool move_huge_pud(struct vm_area_struct *vma, unsigned long old_addr,
> > -			  unsigned long new_addr, pud_t *old_pud, pud_t *new_pud)
> > +static bool move_huge_pud(struct pagetable_move_control *pmc,
> > +			  unsigned long old_addr, unsigned long new_addr,
> > +			  pud_t *old_pud, pud_t *new_pud)
> >  {
> >  	WARN_ON_ONCE(1);
> >  	return false;
>
> err,
>
> --- a/mm/mremap.c~mm-mremap-thread-state-through-move-page-table-operation-fix
> +++ a/mm/mremap.c
> @@ -475,8 +475,8 @@ static bool move_huge_pud(struct pagetab
>  	return true;
>  }
>  #else
> -static bool move_huge_pud(struct vm_area_struct *vma, unsigned long old_addr,
> -			  unsigned long new_addr, pud_t *old_pud, pud_t *new_pud)
> +static bool move_huge_pud(struct pagetable_move_control *pmc,
> +			  pud_t *old_pud, pud_t *new_pud)
>  {
>  	WARN_ON_ONCE(1);
>  	return false;
> _
>

Thanks! Apologies for that, thought I'd caught all these... :)




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux