2023-03-10 23:29:20

by Luis Chamberlain

[permalink] [raw]
Subject: [PATCH 0/2] ppc: simplify sysctl registration

We can simplify the way we do sysctl registration both by
reducing the number of lines and also avoiding calllers which
could do recursion. The docs are being updated to help reflect
this better [0].

[0] https://lore.kernel.org/all/[email protected]/T/#u

Luis Chamberlain (2):
ppc: simplify one-level sysctl registration for
powersave_nap_ctl_table
ppc: simplify one-level sysctl registration for
nmi_wd_lpm_factor_ctl_table

arch/powerpc/kernel/idle.c | 10 +---------
arch/powerpc/platforms/pseries/mobility.c | 10 +---------
2 files changed, 2 insertions(+), 18 deletions(-)

--
2.39.1



2023-03-22 12:34:56

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH 0/2] ppc: simplify sysctl registration

On Fri, 10 Mar 2023 15:28:48 -0800, Luis Chamberlain wrote:
> We can simplify the way we do sysctl registration both by
> reducing the number of lines and also avoiding calllers which
> could do recursion. The docs are being updated to help reflect
> this better [0].
>
> [0] https://lore.kernel.org/all/[email protected]/T/#u
>
> [...]

Applied to powerpc/next.

[1/2] ppc: simplify one-level sysctl registration for powersave_nap_ctl_table
https://git.kernel.org/powerpc/c/bfedee5dc406ddcd70d667be1501659f1b232b7f
[2/2] ppc: simplify one-level sysctl registration for nmi_wd_lpm_factor_ctl_table
https://git.kernel.org/powerpc/c/3a713753d3cb52e4e3039cdb906ef00f0b574219

cheers