[PATCH hmm 4/8] mm/hmm: add missing pfns set to hmm_vma_walk_pmd()
Christoph Hellwig
hch at lst.de
Mon Mar 16 09:06:16 UTC 2020
On Wed, Mar 11, 2020 at 03:35:02PM -0300, Jason Gunthorpe wrote:
> From: Jason Gunthorpe <jgg at mellanox.com>
>
> All success exit paths from the walker functions must set the pfns array.
>
> A migration entry with no required fault is a HMM_PFN_NONE return, just
> like the pte case.
>
> Fixes: d08faca018c4 ("mm/hmm: properly handle migration pmd")
> Signed-off-by: Jason Gunthorpe <jgg at mellanox.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the amd-gfx
mailing list