Skip to content

x86/mem-paging: misc cleanup

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 19 repliesIn review
  2. v16 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/mem-paging: fold p2m_mem_paging_prep()'s main if()-sxen/arch/x86/mm/p2m.c+7 -113 replies
2/6x86/mem-paging: correct p2m_mem_paging_prep()'s error handlingxen/arch/x86/mm/p2m.c+26 -64 replies
3/6x86/mem-paging: use guest handle for XENMEM_paging_op_preptools/libxc/xc_mem_paging.c xen/arch/x86/mm/p2m.c xen/include/asm-x86/p2m.h +1 more+34 -334 replies
4/6x86/mem-paging: add minimal lock order enforcement to p2m_mem_paging_prep()xen/arch/x86/mm/p2m.c+1 -03 replies
5/6x86/mem-paging: move code to its dedicated source filexen/arch/x86/mm/mem_paging.c xen/arch/x86/mm/p2m.c xen/include/asm-x86/p2m.h+418 -4232 replies
6/6x86/mem-paging: consistently use gfn_txen/arch/x86/hvm/dm.c xen/arch/x86/hvm/hvm.c xen/arch/x86/mm.c +6 more+30 -353 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchRoger Pau MonnéAndrew CooperWei Liu
1/6R-b A-b
2/6R-b
3/6R-b A-b
4/6R-b
5/6R-b A-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] x86/mem-paging: misc cleanup

Repeatedly looking at varying parts of this code has lead to me accumulating a few adjustments.

1: fold p2m_mem_paging_prep()'s main if()-s
2: correct p2m_mem_paging_prep()'s error handling
3: use guest handle for XENMEM_paging_op_prep
4: add minimal lock order enforcement to p2m_mem_paging_prep() 5: move code to its dedicated source file
6: consistently use gfn_t

Jan