On Mon, Jun 07, 2021 at 05:58:50PM +1000, Alistair Popple wrote:
MMU notifier ranges have a migrate_pgmap_owner field which is used by drivers to store a pointer. This is subsequently used by the driver callback to filter MMU_NOTIFY_MIGRATE events. Other notifier event types can also benefit from this filtering, so rename the 'migrate_pgmap_owner' field to 'owner' and create a new notifier initialisation function to initialise this field.
Signed-off-by: Alistair Popple apopple@nvidia.com Suggested-by: Peter Xu peterx@redhat.com
Reviewed-by: Peter Xu peterx@redhat.com