[PATCH 08/19] vfio/spapr_tce: Convert accounting to pinned_vm

2023-02-05 Thread Alistair Popple
Convert from accounting pages against locked_vm to accounting them to pinned_vm. This allows struct vm_account to be used to track the mm_struct used to charge the pages. A future change also uses this to track a cgroup for controlling pinned pages. Signed-off-by: Alistair Popple Cc: Michael Elle

[RFC PATCH 08/19] vfio/spapr_tce: Convert accounting to pinned_vm

2023-01-23 Thread Alistair Popple
Convert from accounting pages against locked_vm to accounting them to pinned_vm. This allows struct vm_account to be used to track the mm_struct used to charge the pages. A future change also uses this to track a cgroup for controlling pinned pages. Signed-off-by: Alistair Popple Cc: Michael Elle