On 10/09/22(Sat) 15:12, Mark Kettenis wrote:
> > Date: Sat, 10 Sep 2022 14:18:02 +0200
> > From: Martin Pieuchot
> >
> > Diff below fixes a bug exposed when swapping on arm64. When an anon is
> > released make sure the all the pmap references to the related page are
> > removed.
>
> I'm a
> Date: Sat, 10 Sep 2022 14:18:02 +0200
> From: Martin Pieuchot
>
> Diff below fixes a bug exposed when swapping on arm64. When an anon is
> released make sure the all the pmap references to the related page are
> removed.
I'm a little bit puzzled by this. So these pages are still mapped
even
Diff below fixes a bug exposed when swapping on arm64. When an anon is
released make sure the all the pmap references to the related page are
removed.
We could move the pmap_page_protect(pg, PROT_NONE) inside uvm_pagefree()
to avoid future issue but that's for a later refactoring.
With this