mbox series

[0/9] xen: scheduler cleanups

Message ID 20191218074859.21665-1-jgross@suse.com (mailing list archive)
Headers show
Series xen: scheduler cleanups | expand

Message

Jürgen Groß Dec. 18, 2019, 7:48 a.m. UTC
Move all scheduler related hypervisor code to xen/common/sched/ and
do a lot of cleanups.

Juergen Gross (9):
  xen/sched: move schedulers and cpupool coding to dedicated directory
  xen/sched: make sched-if.h really scheduler private
  xen/sched: cleanup sched.h
  xen/sched: remove special cases for free cpus in schedulers
  xen/sched: use scratch cpumask instead of allocating it on the stack
  xen/sched: replace null scheduler percpu-variable with pdata hook
  xen/sched: switch scheduling to bool where appropriate
  xen/sched: eliminate sched_tick_suspend() and sched_tick_resume()
  xen/sched: add const qualifier where appropriate

 MAINTAINERS                                        |   8 +-
 xen/arch/arm/domain.c                              |   6 +-
 xen/arch/x86/acpi/cpu_idle.c                       |  15 +-
 xen/arch/x86/cpu/mwait-idle.c                      |   8 +-
 xen/arch/x86/dom0_build.c                          |   5 +-
 xen/common/Kconfig                                 |  66 +-----
 xen/common/Makefile                                |   8 +-
 xen/common/domain.c                                |  70 ------
 xen/common/domctl.c                                | 135 +----------
 xen/common/rcupdate.c                              |   7 +-
 xen/common/sched/Kconfig                           |  65 ++++++
 xen/common/sched/Makefile                          |   7 +
 .../{compat/schedule.c => sched/compat_schedule.c} |   2 +-
 xen/common/{ => sched}/cpupool.c                   |  23 +-
 xen/{include/xen => common/sched}/sched-if.h       |  18 +-
 xen/common/{ => sched}/sched_arinc653.c            |  15 +-
 xen/common/{ => sched}/sched_credit.c              |  65 +++---
 xen/common/{ => sched}/sched_credit2.c             |  85 +++----
 xen/common/{ => sched}/sched_null.c                | 105 ++++++---
 xen/common/{ => sched}/sched_rt.c                  | 105 +++++----
 xen/common/{ => sched}/schedule.c                  | 246 ++++++++++++++++++---
 xen/include/xen/domain.h                           |   3 +
 xen/include/xen/rcupdate.h                         |   3 -
 xen/include/xen/sched.h                            |  39 ++--
 24 files changed, 566 insertions(+), 543 deletions(-)
 create mode 100644 xen/common/sched/Kconfig
 create mode 100644 xen/common/sched/Makefile
 rename xen/common/{compat/schedule.c => sched/compat_schedule.c} (97%)
 rename xen/common/{ => sched}/cpupool.c (97%)
 rename xen/{include/xen => common/sched}/sched-if.h (96%)
 rename xen/common/{ => sched}/sched_arinc653.c (99%)
 rename xen/common/{ => sched}/sched_credit.c (97%)
 rename xen/common/{ => sched}/sched_credit2.c (98%)
 rename xen/common/{ => sched}/sched_null.c (92%)
 rename xen/common/{ => sched}/sched_rt.c (94%)
 rename xen/common/{ => sched}/schedule.c (92%)