Skip to content

x86/shadow: misc tidying

Jan Beulich xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v29 patches 20 repliesSuperseded
  3. v111 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/shadow: replace sh_reset_l3_up_pointers()xen/arch/x86/mm/shadow/common.c xen/arch/x86/mm/shadow/multi.c xen/arch/x86/mm/shadow/private.h+15 -351 reply
2/4x86/shadow: drop hash_vcpu_foreach()xen/arch/x86/mm/shadow/common.c xen/arch/x86/mm/shadow/multi.c xen/arch/x86/mm/shadow/multi.h+18 -700 replies
3/4x86/shadow: rename hash_domain_foreach()xen/arch/x86/mm/shadow/common.c+16 -160 replies
4/4x86/shadow: re-work 4-level SHADOW_FOREACH_L2E()xen/arch/x86/mm/shadow/multi.c+11 -123 replies

Reviews trailers per patch

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

PatchAndrew Cooper
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] x86/shadow: misc tidying

... or so I hope. The main observation was that we still have both hash_vcpu_for_each() and hash_domain_for_each(), where the latter was introduced in 2014/15 to replace the former. Only some eight years later we can now complete this conversion. Everything else addresses other things noticed along the road.

1: replace sh_reset_l3_up_pointers()
2: drop hash_vcpu_foreach()
3: rename hash_domain_foreach()
4: re-work 4-level SHADOW_FOREACH_L2E()

See individual patches for changes.

Jan