Followup of yesterday's design session "refactoring the REST"
Yesterday's design session at Xen Developer Summit "Hypervisor Team: .." had one topic regarding whether we should find specific maintainers of all the files currently assigned to "THE REST" in order to lower the amount of reviews for those assigned to be "THE REST" maintainers.
Modifying the MAINTAINERS file adding "[email protected]" as REST maintainer and running the rune:
git ls-files | while true; do f=line; [ "$f" = "" ] && exit; \
echo $f ./scripts/get_maintainer.pl -f $f | awk '{print $(NF)}'; \
done | awk '/REST/ { print $1}'
shows that basically the following files are covered by "THE REST":
- files directly in /
- config/
- most files in docs/ (not docs/man/)
- misc/ (only one file)
- scripts/
- lots of files in xen/common/
- xen/crypto/
- lots of files in xen/drivers/
- lots of files in xen/include/
- xen/scripts/
- some files in xen/tools/
I have attached the file list.
So the basic idea to have a "hypervisor REST" and a "tools REST" wouldn't make a huge difference, if we don't assign docs/ to "tools REST".
So I think it would make sense to:
- look through the docs/ and xen/include/ files whether some of those can be assigned to a component already having dedicated maintainers
- try to find maintainers for the other files, especially those in xen/common/ and xen/drivers/ (including the related include files, of course)
- if any of the REST maintainers doesn't want to receive mails for a group of the remaining REST files split the REST maintainers/files up accordingly
Thougts?
Juergen
.gitarchive-info
.gitattributes
.gitignore
.hgignore
.hgsigs
.hgtagsCODING_STYLE
CONTRIBUTING
COPYING
CREDITS
Config.mk
INSTALLMAINTAINERSMakefile
README
SUPPORT.md
config.guess
config.subconfig/FreeBSD.mkconfig/Linux.mkconfig/NetBSD.mkconfig/NetBSDRump.mkconfig/OpenBSD.mkconfig/StdGNU.mkconfig/SunOS.mkconfig/arm32.mkconfig/arm64.mkconfig/x86_32.mkconfig/x86_64.mk
docs/INDEX
docs/README.colo
docs/README.sourcedocs/admin-guide/index.rstdocs/admin-guide/introduction.rstdocs/admin-guide/microcode-loading.rst
docs/admin-guide/xen-overview.drawio.svgdocs/conf.py
docs/designs/argo.pandoc
docs/designs/dmop.pandocdocs/designs/non-cooperative-migration.mddocs/designs/qemu-deprivilege.mddocs/designs/xenstore-migration.md
docs/features/dom0less.pandoc
docs/features/feature-levelling.pandoc
docs/features/hypervisorfs.pandoc
docs/features/intel_psr_cat_cdp.pandoc
docs/features/intel_psr_mba.pandoc
docs/features/livepatch.pandoc
docs/features/migration.pandoc
docs/features/qemu-deprivilege.pandoc
docs/features/sched_credit.pandoc
docs/features/sched_credit2.pandoc
docs/features/sched_rtds.pandoc
docs/features/template.pandoc
docs/figs/Makefile
docs/figs/network-basic.fig
docs/figs/network-bridge.fig
docs/figs/xenlogo.eps
docs/gen-html-indexdocs/glossary.rstdocs/guest-guide/index.rstdocs/guest-guide/x86/hypercall-abi.rstdocs/guest-guide/x86/index.rstdocs/hypervisor-guide/code-coverage.rstdocs/hypervisor-guide/index.rstdocs/hypervisor-guide/x86/how-xen-boots.rstdocs/hypervisor-guide/x86/index.rstdocs/index.rst
docs/misc/9pfs.pandocdocs/misc/amd-ucode-container.txtdocs/misc/block-scripts.txtdocs/misc/console.txtdocs/misc/crashdb.txtdocs/misc/distro_mapping.txtdocs/misc/dump-core-format.txt
docs/misc/efi.pandocdocs/misc/grant-tables.txt
docs/misc/hvm-emulated-unplug.pandoc
docs/misc/hypfs-paths.pandocdocs/misc/kconfig-language.rstdocs/misc/kconfig-macro-language.rstdocs/misc/kconfig.rstdocs/misc/kexec_and_kdump.txtdocs/misc/libxl_memory.txt
docs/misc/netif-staging-grants.pandocdocs/misc/printk-formats.txt
docs/misc/pv-drivers-lifecycle.pandoc
docs/misc/pvcalls.pandoc
docs/misc/pvh.pandocdocs/misc/qemu-backends.txt
docs/misc/status-override-table-spec.fodtdocs/misc/stubdom.txt
docs/misc/support-matrix-head.htmldocs/misc/vtd-pi.txtdocs/misc/vtd.txt
docs/misc/x86-xenpv-bootloader.pandoc
docs/misc/xen-command-line.pandoc
docs/misc/xen-env-table-spec.fodtdocs/misc/xen-error-handling.txtdocs/misc/xen-makefiles/makefiles.rst
docs/misc/xen_config.htmldocs/misc/xenmon.txtdocs/misc/xenpaging.txt
docs/misc/xenstore-paths.pandocdocs/misc/xenstore-ring.txtdocs/misc/xenstore.txt
docs/misc/xl-psr.pandoc
docs/parse-support-md
docs/process/RUBRICdocs/process/branching-checklist.txtdocs/process/release-technician-checklist.txt
docs/process/tags.pandoc
docs/process/xen-release-management.pandoc
docs/specs/libxc-migration-stream.pandoc
docs/specs/libxl-migration-stream.pandoc
docs/support-matrix-generate
docs/xen-headersmisc/coverity/model.cscripts/add_maintainers.plscripts/get_maintainer.plscripts/git-checkout.shversion.sh
xen/COPYING
xen/Kconfig
xen/Kconfig.debug
xen/Makefilexen/Rules.mk
xen/arch/Kconfig
xen/common/COPYING
xen/common/Kconfig
xen/common/Makefile
xen/common/README.sourcexen/common/bitmap.cxen/common/bsearch.cxen/common/bunzip2.cxen/common/compat/domain.cxen/common/compat/grant_table.cxen/common/compat/kernel.cxen/common/compat/memory.cxen/common/compat/multicall.cxen/common/compat/xenoprof.cxen/common/compat/xlat.cxen/common/core_parking.c
xen/common/coverage/Makefilexen/common/coverage/coverage.cxen/common/coverage/coverage.hxen/common/coverage/gcc_3_4.cxen/common/coverage/gcc_4_7.cxen/common/coverage/gcc_4_9.cxen/common/coverage/gcc_5.cxen/common/coverage/gcc_7.cxen/common/coverage/gcov.cxen/common/coverage/gcov.hxen/common/coverage/gcov_base.cxen/common/coverage/llvm.cxen/common/cpu.cxen/common/debugtrace.cxen/common/decompress.cxen/common/decompress.hxen/common/domain.cxen/common/domctl.cxen/common/earlycpio.cxen/common/event_2l.cxen/common/event_channel.cxen/common/event_fifo.cxen/common/gdbstub.cxen/common/grant_table.cxen/common/guestcopy.cxen/common/gunzip.cxen/common/hypfs.cxen/common/inflate.cxen/common/irq.cxen/common/kernel.cxen/common/keyhandler.cxen/common/lib.c
xen/common/libelf/COPYING
xen/common/libelf/Makefile
xen/common/libelf/READMExen/common/libelf/libelf-dominfo.cxen/common/libelf/libelf-loader.cxen/common/libelf/libelf-private.hxen/common/libelf/libelf-tools.cxen/common/list_sort.cxen/common/lz4/decompress.cxen/common/lz4/defs.hxen/common/lzo.cxen/common/memory.cxen/common/multicall.cxen/common/notifier.cxen/common/page_alloc.cxen/common/pdx.cxen/common/perfc.cxen/common/preempt.cxen/common/radix-tree.cxen/common/random.cxen/common/rangeset.cxen/common/rbtree.cxen/common/rcupdate.cxen/common/rwlock.cxen/common/shutdown.cxen/common/smp.cxen/common/softirq.cxen/common/sort.cxen/common/spinlock.cxen/common/stop_machine.cxen/common/string.cxen/common/symbols-dummy.cxen/common/symbols.cxen/common/sysctl.cxen/common/tasklet.cxen/common/time.cxen/common/timer.c
xen/common/ubsan/Makefilexen/common/ubsan/ubsan.cxen/common/ubsan/ubsan.hxen/common/unlz4.cxen/common/unlzma.cxen/common/unlzo.cxen/common/unxz.cxen/common/version.cxen/common/virtual_region.cxen/common/vmap.cxen/common/vsprintf.cxen/common/wait.cxen/common/warning.cxen/common/xenoprof.cxen/common/xmalloc_tlsf.cxen/common/xz/crc32.cxen/common/xz/dec_bcj.cxen/common/xz/dec_lzma2.cxen/common/xz/dec_stream.cxen/common/xz/lzma2.hxen/common/xz/private.hxen/common/xz/stream.h
xen/crypto/Makefile
xen/crypto/README.sourcexen/crypto/rijndael.cxen/crypto/vmac.c
xen/drivers/Kconfig
xen/drivers/Makefile
xen/drivers/char/Kconfig
xen/drivers/char/Makefilexen/drivers/char/console.cxen/drivers/char/consoled.cxen/drivers/char/ehci-dbgp.cxen/drivers/char/ns16550.cxen/drivers/char/serial.cxen/drivers/char/xen_pv_console.c
xen/drivers/pci/Kconfig
xen/drivers/pci/Makefilexen/drivers/pci/pci.c
xen/drivers/video/Kconfig
xen/drivers/video/Makefilexen/drivers/video/font.hxen/drivers/video/font_8x14.cxen/drivers/video/font_8x16.cxen/drivers/video/font_8x8.cxen/drivers/video/lfb.cxen/drivers/video/lfb.hxen/drivers/video/modelines.hxen/drivers/video/vesa.cxen/drivers/video/vga.c
xen/include/Makefile
xen/include/crypto/README.sourcexen/include/crypto/rijndael.hxen/include/crypto/vmac.h
xen/include/public/COPYINGxen/include/public/arch-x86_32.hxen/include/public/arch-x86_64.hxen/include/public/callback.hxen/include/public/device_tree_defs.hxen/include/public/dom0_ops.hxen/include/public/domctl.hxen/include/public/elfnote.hxen/include/public/errno.hxen/include/public/event_channel.hxen/include/public/features.hxen/include/public/grant_table.hxen/include/public/hvm/dm_op.hxen/include/public/hvm/e820.hxen/include/public/hvm/hvm_info_table.hxen/include/public/hvm/hvm_op.hxen/include/public/hvm/hvm_vcpu.hxen/include/public/hvm/hvm_xs_strings.hxen/include/public/hvm/params.hxen/include/public/hvm/pvdrivers.hxen/include/public/hvm/save.hxen/include/public/hypfs.hxen/include/public/kexec.hxen/include/public/memory.hxen/include/public/nmi.hxen/include/public/physdev.hxen/include/public/platform.hxen/include/public/pmu.hxen/include/public/sched.hxen/include/public/sysctl.hxen/include/public/tmem.hxen/include/public/trace.hxen/include/public/vcpu.hxen/include/public/version.hxen/include/public/xen-compat.hxen/include/public/xen.hxen/include/public/xencomm.hxen/include/public/xenoprof.hxen/include/public/xsm/flask_op.hxen/include/xen/8250-uart.hxen/include/xen/acpi.hxen/include/xen/atomic.hxen/include/xen/bitmap.hxen/include/xen/bitops.hxen/include/xen/byteorder/big_endian.hxen/include/xen/byteorder/generic.hxen/include/xen/byteorder/little_endian.hxen/include/xen/byteorder/swab.hxen/include/xen/cache.hxen/include/xen/compat.h
xen/include/xen/compile.h.inxen/include/xen/compiler.hxen/include/xen/config.hxen/include/xen/console.hxen/include/xen/consoled.hxen/include/xen/const.hxen/include/xen/coverage.hxen/include/xen/cper.hxen/include/xen/cpu.hxen/include/xen/cpuidle.hxen/include/xen/cpumask.hxen/include/xen/ctype.hxen/include/xen/decompress.hxen/include/xen/delay.hxen/include/xen/dmi.hxen/include/xen/domain.hxen/include/xen/domain_page.hxen/include/xen/early_printk.hxen/include/xen/earlycpio.hxen/include/xen/efi.hxen/include/xen/elf.hxen/include/xen/elfcore.hxen/include/xen/elfstructs.hxen/include/xen/err.hxen/include/xen/errno.hxen/include/xen/event.hxen/include/xen/event_fifo.hxen/include/xen/gdbstub.hxen/include/xen/grant_table.hxen/include/xen/guest_access.hxen/include/xen/gunzip.hxen/include/xen/hash.hxen/include/xen/hypercall.hxen/include/xen/hypfs.hxen/include/xen/init.hxen/include/xen/inttypes.hxen/include/xen/iocap.hxen/include/xen/irq.hxen/include/xen/irq_cpustat.hxen/include/xen/kconfig.hxen/include/xen/kernel.hxen/include/xen/kexec.hxen/include/xen/keyhandler.hxen/include/xen/kimage.hxen/include/xen/lib.hxen/include/xen/libelf.hxen/include/xen/list.hxen/include/xen/list_sort.hxen/include/xen/lz4.hxen/include/xen/lzo.hxen/include/xen/mm.hxen/include/xen/multiboot.hxen/include/xen/multiboot2.hxen/include/xen/multicall.hxen/include/xen/nodemask.hxen/include/xen/nospec.hxen/include/xen/notifier.hxen/include/xen/numa.hxen/include/xen/p2m-common.hxen/include/xen/page-defs.hxen/include/xen/paging.hxen/include/xen/param.hxen/include/xen/pci.hxen/include/xen/pci_ids.hxen/include/xen/pci_regs.hxen/include/xen/pdx.hxen/include/xen/percpu.hxen/include/xen/perfc.hxen/include/xen/perfc_defn.hxen/include/xen/pfn.hxen/include/xen/pmstat.hxen/include/xen/preempt.hxen/include/xen/prefetch.hxen/include/xen/pv_console.hxen/include/xen/radix-tree.hxen/include/xen/random.hxen/include/xen/rangeset.hxen/include/xen/rbtree.hxen/include/xen/rcupdate.hxen/include/xen/rwlock.hxen/include/xen/sched.hxen/include/xen/serial.hxen/include/xen/shared.hxen/include/xen/shutdown.hxen/include/xen/sizes.hxen/include/xen/smp.hxen/include/xen/softirq.hxen/include/xen/sort.hxen/include/xen/spinlock.hxen/include/xen/stdarg.hxen/include/xen/stdbool.hxen/include/xen/stop_machine.hxen/include/xen/string.hxen/include/xen/stringify.hxen/include/xen/symbols.hxen/include/xen/tasklet.hxen/include/xen/time.hxen/include/xen/timer.hxen/include/xen/types.hxen/include/xen/typesafe.hxen/include/xen/version.hxen/include/xen/vga.hxen/include/xen/video.hxen/include/xen/virtual_region.hxen/include/xen/vmap.hxen/include/xen/wait.hxen/include/xen/warning.hxen/include/xen/watchdog.hxen/include/xen/xenoprof.hxen/include/xen/xmalloc.h
xen/include/xlat.lst
xen/lib/Makefile
xen/scripts/Kbuild.include
xen/scripts/Kconfig.include
xen/scripts/Makefile.cleanxen/scripts/clang-version.shxen/scripts/gcc-version.sh
xen/test/Makefile
xen/tools/Makefile
xen/tools/binfilexen/tools/compat-build-header.pyxen/tools/compat-build-source.pyxen/tools/gen-cpuid.pyxen/tools/get-fields.sh
xen/tools/process-banner.sed
xen/tools/scmversionxen/tools/symbols.c
xen/tools/xen.flf
Quoted 32 lines · Jürgen Groß
Yesterday's design session at Xen Developer Summit "Hypervisor Team: .." had one topic regarding whether we should find specific maintainers of all the files currently assigned to "THE REST" in order to lower the amount of reviews for those assigned to be "THE REST" maintainers.
Modifying the
MAINTAINERSfile adding "[email protected]" as REST maintainer and running the rune:git ls-files | while true; do f=
line; [ "$f" = "" ] && exit; \
echo $f./scripts/get_maintainer.pl -f $f | awk '{print $(NF)}'; \
done | awk '/REST/ { print $1}'shows that basically the following files are covered by "THE REST":
- files directly in /
- config/
- most files in docs/ (not docs/man/)
- misc/ (only one file)
-scripts/
- lots of files in xen/common/
- xen/crypto/
- lots of files in xen/drivers/
- lots of files in xen/include/
- xen/scripts/
- some files in xen/tools/I have attached the file list.
So the basic idea to have a "hypervisor REST" and a "tools REST" wouldn't make a huge difference, if we don't assign docs/ to "tools REST".
Quoted 8 lines
So I think it would make sense to:
- look through the docs/ and xen/include/ files whether some of those can be assigned to a component already having dedicated maintainers
- try to find maintainers for the other files, especially those in xen/common/ and xen/drivers/ (including the related include files, of course)
At least for files in xen/common/ I think it was really intentional that they - as core hypervisor files - fall under THE REST. We could of course have a "Core Hypervisor" (or so) group, which would already
...
Quoted 3 lines
- if any of the REST maintainers doesn't want to receive mails for a group of the remaining REST files split the REST maintainers/files up accordingly
... allow moving some into this direction.
For files under xen/drivers/ not currently covered by other entries it may indeed be (more) feasible to find individual maintainers.
Jan
Quoted 38 lines · Jan Beulich
Quoted 37 lines · Jürgen Groß
Yesterday's design session at Xen Developer Summit "Hypervisor Team: .." had one topic regarding whether we should find specific maintainers of all the files currently assigned to "THE REST" in order to lower the amount of reviews for those assigned to be "THE REST" maintainers.
Modifying the
MAINTAINERSfile adding "[email protected]" as REST maintainer and running the rune:git ls-files | while true; do f=
line; [ "$f" = "" ] && exit; \
echo $f./scripts/get_maintainer.pl -f $f | awk '{print $(NF)}'; \
done | awk '/REST/ { print $1}'shows that basically the following files are covered by "THE REST":
- files directly in /
- config/
- most files in docs/ (not docs/man/)
- misc/ (only one file)
-scripts/
- lots of files in xen/common/
- xen/crypto/
- lots of files in xen/drivers/
- lots of files in xen/include/
- xen/scripts/
- some files in xen/tools/I have attached the file list.
So the basic idea to have a "hypervisor REST" and a "tools REST" wouldn't make a huge difference, if we don't assign docs/ to "tools REST".
So I think it would make sense to:
- look through the docs/ and xen/include/ files whether some of those can be assigned to a component already having dedicated maintainers
Quoted 6 lines
Quoted 3 lines
- try to find maintainers for the other files, especially those in xen/common/ and xen/drivers/ (including the related include files, of course)
At least for files in xen/common/ I think it was really intentional that they - as core hypervisor files - fall under THE REST. We could
Depends on the files. Those files are under xen/common/ as they are not architecture dependent. I agree that many of those files are core hypervisor files, but OTOH e.g. common/sched/core.c has dedicated maintainers in spite of being a core file.
I don't think files like xen/common/gdbstub.c or xen/common/xenoprof.c fall in this category, so revisiting the file list would surely be a good idea.
Quoted 8 lines
of course have a "Core Hypervisor" (or so) group, which would already
...Quoted 3 lines
- if any of the REST maintainers doesn't want to receive mails for a group of the remaining REST files split the REST maintainers/files up accordingly
... allow moving some into this direction.
Yes.
Quoted 2 lines
For files under xen/drivers/ not currently covered by other entries it may indeed be (more) feasible to find individual maintainers.
I agree.
Juergen
Quoted 26 lines · Jürgen Groß
Yesterday's design session at Xen Developer Summit "Hypervisor Team: .." had one topic regarding whether we should find specific maintainers of all the files currently assigned to "THE REST" in order to lower the amount of reviews for those assigned to be "THE REST" maintainers.
Modifying the
MAINTAINERSfile adding "[email protected]" as REST maintainer and running the rune:git ls-files | while true; do f=
line; [ "$f" = "" ] && exit; \
echo $f./scripts/get_maintainer.pl -f $f | awk '{print $(NF)}'; \
done | awk '/REST/ { print $1}'shows that basically the following files are covered by "THE REST":
- files directly in /
- config/
- most files in docs/ (not docs/man/)
- misc/ (only one file)
-scripts/
- lots of files in xen/common/
- xen/crypto/
- lots of files in xen/drivers/
- lots of files in xen/include/
- xen/scripts/
- some files in xen/tools/
Quoted 1 line
I have attached the file list.
Thanks! I still have to go over the list in more detail, just some comments below.
Quoted 4 lines
So the basic idea to have a "hypervisor REST" and a "tools REST" wouldn't make a huge difference, if we don't assign docs/ to "tools REST".
Quoted 8 lines
So I think it would make sense to:
- look through the docs/ and xen/include/ files whether some of those can be assigned to a component already having dedicated maintainers
- try to find maintainers for the other files, especially those in xen/common/ and xen/drivers/ (including the related include files, of course)
I think it's important that xen/common files (specially the ones containing interfaces exposed to guests) have at least one maintainer from each supported architecture (Arm and x86 ATM), plus whatever common code maintainers we want to have. It's sometimes easy (at least for me) to forget about other arches or make wrong assumptions about them when modifying common code.
Drivers could also benefit from something similar IMO, where common code has a shared group of maintainers, for example IOMMU should ideally have a mix of maintainers from the current implementations (Arm/Intel/AMD) plus again whatever common code maintainers we want to have.
Roger.