Skip to content

KVM: async_pf: use_mm/mm_users fixes

Oleg Nesterov kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute()virt/kvm/async_pf.c+0 -25 replies
2/2KVM: async_pf: mm->mm_users can not pin apf->mmvirt/kvm/async_pf.c+4 -41 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian BorntraegerAndrea Arcangeli
SeriesA-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: async_pf: use_mm/mm_users fixes

Hello.

Completely untested and I know nothing about kvm ;) Please review.

But use_mm() really looks misleading, and the usage of mm_users looks "obviously wrong". I already sent this change while we were discussing vmacache, but it was ignored. Since then kvm_async_page_present_sync() was added into async_pf_execute() into async_pf_execute(), but it seems to me that use_mm() is still unnecessary.

Oleg.

 virt/kvm/async_pf.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)