mbox series

[v3,00/10] xen/nodemask: API cleanup and fixes

Message ID 20190729121204.13559-1-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series xen/nodemask: API cleanup and fixes | expand

Message

Andrew Cooper July 29, 2019, 12:11 p.m. UTC
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(-)