mbox series

[0/27] Unconditionally enable SRCU

Message ID 20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1 (mailing list archive)
Headers show
Series Unconditionally enable SRCU | expand

Message

Paul E. McKenney Jan. 5, 2023, 12:37 a.m. UTC
Hello!

This 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.	arch/arm64/kvm: Remove "select SRCU".

3.	arch/mips/kvm: Remove "select SRCU".

4.	arch/powerpc/kvm: Remove "select SRCU".

5.	arch/riscv/kvm: Remove "select SRCU".

6.	arch/s390/kvm: Remove "select SRCU".

7.	block: Remove "select SRCU".

8.	drivers/base: Remove CONFIG_SRCU.

9.	drivers/clk: Remove "select SRCU".

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

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

12.	drivers/devfreq: Remove "select SRCU".

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

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

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

16.	drivers/opp: Remove "select SRCU".

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

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

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

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

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

22.	init: Remove "select SRCU".

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

24.	mm: Remove "select SRCU".

25.	fs: Remove CONFIG_SRCU.

26.	kernel/notifier: Remove CONFIG_SRCU.

27.	rcu: Remove CONFIG_SRCU.

						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 
 block/Kconfig                                               |    1 
 drivers/base/core.c                                         |   42 ------------
 drivers/clk/Kconfig                                         |    1 
 drivers/cpufreq/Kconfig                                     |    1 
 drivers/dax/Kconfig                                         |    1 
 drivers/devfreq/Kconfig                                     |    1 
 drivers/hwtracing/stm/Kconfig                               |    1 
 drivers/md/Kconfig                                          |    1 
 drivers/net/Kconfig                                         |    1 
 drivers/opp/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 
 tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt |    4 -
 29 files changed, 1 insertion(+), 102 deletions(-)

Comments

Jens Axboe Jan. 5, 2023, 3:50 p.m. UTC | #1
On Wed, 04 Jan 2023 16:37:59 -0800, Paul E. McKenney wrote:
> This 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".
> 
> [...]

Applied, thanks!

[07/27] block: Remove "select SRCU"
        commit: b2b50d572135c5c6e10c2ff79cd828d5a8141ef6

Best regards,
Paul E. McKenney Jan. 5, 2023, 4:01 p.m. UTC | #2
On Thu, Jan 05, 2023 at 08:50:37AM -0700, Jens Axboe wrote:
> 
> On Wed, 04 Jan 2023 16:37:59 -0800, Paul E. McKenney wrote:
> > This 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".
> > 
> > [...]
> 
> Applied, thanks!
> 
> [07/27] block: Remove "select SRCU"
>         commit: b2b50d572135c5c6e10c2ff79cd828d5a8141ef6

Thank you, Jens!  I will drop this one on my next rebase.

							Thanx, Paul
Paul E. McKenney Jan. 13, 2023, 12:11 a.m. UTC | #3
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(-)