2021-08-10 12:16:54

by Juri Lelli

[permalink] [raw]
Subject: [PATCH v2 0/2] rcu: Make rcu_normal_after_boot writable again

Hi,

v2 of a proposed RCU change to make rcu_normal_after_boot feature usable
on PREEMPT_RT as well, as it turns out it's useful on RT as well on
NO_HZ_FULL configurations.

v2 gained an additional patch to revise rcu update module parameters
permissions (as suggested during v1 review [1]).

Changes wrt v1:

- Restrict the option to !PREEMPT_RT || NO_HZ_FULL (Paul, Sebastian)
- Change module params permissions (Paul) (02/02)

Thanks,
Juri

v1 - https://lore.kernel.org/lkml/[email protected]/

Juri Lelli (2):
rcu: Make rcu_normal_after_boot writable again
rcu: Make rcu update module parameters world-readable

kernel/rcu/tree_exp.h | 1 -
kernel/rcu/update.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)

--
2.31.1


2021-08-10 18:42:50

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] rcu: Make rcu_normal_after_boot writable again

On Tue, Aug 10, 2021 at 10:48:14AM +0200, Juri Lelli wrote:
> Hi,
>
> v2 of a proposed RCU change to make rcu_normal_after_boot feature usable
> on PREEMPT_RT as well, as it turns out it's useful on RT as well on
> NO_HZ_FULL configurations.
>
> v2 gained an additional patch to revise rcu update module parameters
> permissions (as suggested during v1 review [1]).

Queued and pushed, thank you!

Thanx, Paul

> Changes wrt v1:
>
> - Restrict the option to !PREEMPT_RT || NO_HZ_FULL (Paul, Sebastian)
> - Change module params permissions (Paul) (02/02)
>
> Thanks,
> Juri
>
> v1 - https://lore.kernel.org/lkml/[email protected]/
>
> Juri Lelli (2):
> rcu: Make rcu_normal_after_boot writable again
> rcu: Make rcu update module parameters world-readable
>
> kernel/rcu/tree_exp.h | 1 -
> kernel/rcu/update.c | 8 ++++----
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> --
> 2.31.1
>