2023-01-13 00:23:01

by Paul E. McKenney

[permalink] [raw]
Subject: [PATCH rcu v2 16/20] kernel/power: Remove "select SRCU"

Now that the SRCU Kconfig option is unconditionally selected, there is
no longer any point in selecting it. Therefore, remove the "select SRCU"
Kconfig statements.

Signed-off-by: Paul E. McKenney <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: <[email protected]>
Acked-by: "Rafael J. Wysocki" <[email protected]>
Reviewed-by: John Ogness <[email protected]>
---
kernel/power/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 60a1d3051cc79..4b31629c5be4b 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -118,7 +118,6 @@ config PM_SLEEP
def_bool y
depends on SUSPEND || HIBERNATE_CALLBACKS
select PM
- select SRCU

config PM_SLEEP_SMP
def_bool y
--
2.31.1.189.g2e36527f23


2023-01-20 17:46:08

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH rcu v2 16/20] kernel/power: Remove "select SRCU"

On Fri, Jan 13, 2023 at 1:11 AM Paul E. McKenney <[email protected]> wrote:
>
> Now that the SRCU Kconfig option is unconditionally selected, there is
> no longer any point in selecting it. Therefore, remove the "select SRCU"
> Kconfig statements.
>
> Signed-off-by: Paul E. McKenney <[email protected]>
> Cc: "Rafael J. Wysocki" <[email protected]>
> Cc: Len Brown <[email protected]>
> Cc: Pavel Machek <[email protected]>
> Cc: <[email protected]>
> Acked-by: "Rafael J. Wysocki" <[email protected]>
> Reviewed-by: John Ogness <[email protected]>
> ---
> kernel/power/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
> index 60a1d3051cc79..4b31629c5be4b 100644
> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -118,7 +118,6 @@ config PM_SLEEP
> def_bool y
> depends on SUSPEND || HIBERNATE_CALLBACKS
> select PM
> - select SRCU
>
> config PM_SLEEP_SMP
> def_bool y
> --

Applied as 6.3 material, thanks!

2023-01-20 18:17:49

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH rcu v2 16/20] kernel/power: Remove "select SRCU"

On Fri, Jan 20, 2023 at 05:55:04PM +0100, Rafael J. Wysocki wrote:
> On Fri, Jan 13, 2023 at 1:11 AM Paul E. McKenney <[email protected]> wrote:
> >
> > Now that the SRCU Kconfig option is unconditionally selected, there is
> > no longer any point in selecting it. Therefore, remove the "select SRCU"
> > Kconfig statements.
> >
> > Signed-off-by: Paul E. McKenney <[email protected]>
> > Cc: "Rafael J. Wysocki" <[email protected]>
> > Cc: Len Brown <[email protected]>
> > Cc: Pavel Machek <[email protected]>
> > Cc: <[email protected]>
> > Acked-by: "Rafael J. Wysocki" <[email protected]>
> > Reviewed-by: John Ogness <[email protected]>
> > ---
> > kernel/power/Kconfig | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
> > index 60a1d3051cc79..4b31629c5be4b 100644
> > --- a/kernel/power/Kconfig
> > +++ b/kernel/power/Kconfig
> > @@ -118,7 +118,6 @@ config PM_SLEEP
> > def_bool y
> > depends on SUSPEND || HIBERNATE_CALLBACKS
> > select PM
> > - select SRCU
> >
> > config PM_SLEEP_SMP
> > def_bool y
> > --
>
> Applied as 6.3 material, thanks!

Thank you, and I will drop this from my tree on my next rebase.

Thanx, Paul