Skip to content

xen/nodemask: API cleanup and fixes

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 22 repliesIn review
  2. v23 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10page-alloc: Clamp get_free_buddy() to online nodesxen/common/page_alloc.c+8 -16 replies
2/10xen/bitmap: Drop {bitmap, cpumask, nodes}_shift_{left, right}()xen/common/bitmap.c xen/include/xen/bitmap.h xen/include/xen/cpumask.h +1 more+0 -1441 reply
3/10xen/nodemask: Drop any_online_node() and first_unset_node()xen/include/xen/cpumask.h xen/include/xen/nodemask.h+0 -221 reply
4/10xen/mask: Convert {cpu, node}mask_test() to be static inlinexen/arch/x86/srat.c xen/common/page_alloc.c xen/include/xen/cpumask.h +1 more+14 -262 replies
5/10xen/cpumask: Introduce a CPUMASK_PR() wrapper for printingxen/arch/x86/cpu/mcheck/mce.c xen/arch/x86/crash.c xen/arch/x86/io_apic.c +9 more+33 -341 reply
6/10xen/nodemask: Introduce a NODEMASK_PR() wrapper for printingxen/common/domctl.c xen/common/keyhandler.c xen/include/xen/nodemask.h+13 -62 replies
7/10xen/nodemask: Drop nodes_{setall, clear}() and improve the initialisersxen/arch/x86/dom0_build.c xen/arch/x86/numa.c xen/common/domain.c +1 more+35 -594 replies
8/10xen/nodemask: Introduce unlocked __nodemask_{set, clear}() helpersxen/arch/x86/dom0_build.c xen/arch/x86/srat.c xen/common/domain.c +1 more+16 -43 replies
9/10xen/nodemask: Sanitise the remainder of the nodemask APIxen/arch/x86/dom0_build.c xen/arch/x86/numa.c xen/arch/x86/srat.c +5 more+109 -1321 reply
10/10xen/nodemask: Drop remaining refeces to linuxxen/include/xen/nodemask.h+13 -41 reply

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/10A-b
2/10A-b
3/10A-b
4/10A-b
5/10R-b
6/10R-b
7/10R-b
8/10A-b
9/10
10/10A-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 [Xen-devel] [PATCH v3 00/10] xen/nodemask: API cleanup and fixes

This series has expanded substantially from v2.

The bugfix has been moved to patch 1, in case it wants backporting. Everything else is API cleanup following from Jan's request to do more than in v2.

Andrew Cooper (10):
page-alloc: Clamp get_free_buddy() to online nodes xen/bitmap: Drop {bitmap,cpumask,nodes}_shift_{left,right}() xen/nodemask: Drop any_online_node() and first_unset_node() xen/mask: Convert {cpu,node}mask_test() to be static inline xen/cpumask: Introduce a CPUMASK_PR() wrapper for printing xen/nodemask: Introduce a NODEMASK_PR() wrapper for printing xen/nodemask: Drop nodes_{setall,clear}() and improve the initialisers xen/nodemask: Introduce unlocked __nodemask_{set,clear}() helpers xen/nodemask: Sanitise the remainder of the nodemask API xen/nodemask: Drop remaining refeces to linux

 xen/arch/x86/cpu/mcheck/mce.c |   2 +-
 xen/arch/x86/crash.c          |   2 +-
 xen/arch/x86/dom0_build.c     |  12 +-
 xen/arch/x86/io_apic.c        |   6 +-
 xen/arch/x86/irq.c            |   5 +-
 xen/arch/x86/numa.c           |   7 +-
 xen/arch/x86/srat.c           |  15 +-
 xen/arch/x86/sysctl.c         |   3 +-
 xen/common/bitmap.c           |  88 -----------
 xen/common/cpupool.c          |   7 +-
 xen/common/domain.c           |  10 +-
 xen/common/domctl.c           |   4 +-
 xen/common/keyhandler.c       |  10 +-
 xen/common/page_alloc.c       |  35 +++--
 xen/common/sched_credit.c     |   8 +-
 xen/common/sched_credit2.c    |  12 +-
 xen/common/sched_null.c       |   7 +-
 xen/common/sched_rt.c         |   3 +-
 xen/common/sysctl.c           |   2 +-
 xen/include/xen/bitmap.h      |  22 ---
 xen/include/xen/cpumask.h     |  41 ++---
 xen/include/xen/nodemask.h    | 346 +++++++++++++++++-------------------------
 22 files changed, 228 insertions(+), 419 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel