[PATCH v7 5/8] mm: Device exclusive memory access
Jason Gunthorpe
jgg at nvidia.com
Wed Mar 31 13:18:54 UTC 2021
On Wed, Mar 31, 2021 at 11:59:28PM +1100, Alistair Popple wrote:
> I guess that makes sense as the split could go either way at the
> moment but I should add a check to make sure this isn't used with
> pinned pages anyway.
Is it possible to have a pinned page under one of these things? If I
pin it before you migrate it then it remains pinned but hidden under
the swap entry?
So the special logic is needed and the pinned page has to be copied
and written as a normal pte, not dropped as a migration entry
Jason
More information about the dri-devel
mailing list