[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250303161256.1c3d497ee525023d239d1c38@linux-foundation.org>
Date: Mon, 3 Mar 2025 16:12:56 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: kernel test robot <lkp@...el.com>, Lorenzo Stoakes
<lorenzo.stoakes@...cle.com>, oe-kbuild-all@...ts.linux.dev, Linux Memory
Management List <linux-mm@...ck.org>, "Liam R . Howlett"
<Liam.Howlett@...cle.com>, Vlastimil Babka <vbabka@...e.cz>, Jann Horn
<jannh@...gle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 7/7] mm/mremap: thread state through move page table
operation
On Mon, 3 Mar 2025 16:05:55 -0800 Andrew Morton <akpm@...ux-foundation.org> 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;
_
Powered by blists - more mailing lists