Re: [PATCH rcu 0/27] Unconditionally enable SRCU

Paul E. McKenney
2023-01-13T00:11:29Z

Hello!

This v2 series removes Kconfig "select" clauses and #ifdef directives that
are no longer necessary give that SRCU is now unconditionally enabled,
courtesy of new-age printk() requirements. Finally, the SRCU Kconfig
option is removed entirely.

1. arch/x86: Remove "select SRCU".

2. drivers/base: Remove CONFIG_SRCU.

3. drivers/cpufreq: Remove "select SRCU".

4. drivers/dax: Remove "select SRCU".

5. drivers/hwtracing/stm: Remove "select SRCU".

6. drivers/md: Remove "select SRCU".

7. drivers/net: Remove "select SRCU".

8. drivers/pci/controller: Remove "select SRCU".

9. fs: Remove CONFIG_SRCU.

10. fs/btrfs: Remove "select SRCU".

11. fs/dlm: Remove "select SRCU".

12. fs/notify: Remove "select SRCU".

13. fs/quota: Remove "select SRCU".

14. init: Remove "select SRCU".

15. kernel/notifier: Remove CONFIG_SRCU.

16. kernel/power: Remove "select SRCU".

17. kvm: Remove "select SRCU".

18. mm: Remove "select SRCU".

19. tomoyo: Remove "select SRCU".

20. Remove CONFIG_SRCU.

Changes since v1:

o Added ack and review tags.

o Dropped patches taken by their maintainers.

o Combined the KVM-related commits into a single commit, as requested
by Sean Christopherson. Acks received thus far are qualified by
the corresponding architecture.

o Added the tomoyo patch based on feedback from Nick Desaulniers.

Thanx, Paul

------------------------------------------------------------------------

arch/arm64/kvm/Kconfig | 1
arch/mips/kvm/Kconfig | 1
arch/powerpc/kvm/Kconfig | 1
arch/riscv/kvm/Kconfig | 1
arch/s390/kvm/Kconfig | 1
arch/x86/Kconfig | 2
arch/x86/kvm/Kconfig | 1
drivers/base/core.c | 42 ------------
drivers/cpufreq/Kconfig | 1
drivers/dax/Kconfig | 1
drivers/hwtracing/stm/Kconfig | 1
drivers/md/Kconfig | 1
drivers/net/Kconfig | 1
drivers/pci/controller/Kconfig | 2
fs/btrfs/Kconfig | 1
fs/dlm/Kconfig | 1
fs/locks.c | 25 -------
fs/notify/Kconfig | 1
fs/quota/Kconfig | 1
init/Kconfig | 1
kernel/notifier.c | 3
kernel/power/Kconfig | 1
kernel/rcu/Kconfig | 3
mm/Kconfig | 1
security/tomoyo/Kconfig | 1
tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 4 -
26 files changed, 1 insertion(+), 99 deletions(-)