From: Frank Scheiner <frank.scheiner@web.de>
To: j.granados@samsung.com
Cc: linux-fsdevel@vger.kernel.org, linux-ia64@vger.kernel.org,
"Tomáš Glozar" <tglozar@gmail.com>
Subject: Re: [PATCH v3 0/7] sysctl: Remove sentinel elements from arch
Date: Wed, 4 Oct 2023 17:12:17 +0200 [thread overview]
Message-ID: <d43037ee-bb7f-0cdc-a14d-8cddca8bb373@web.de> (raw)
In-Reply-To: <20231002-jag-sysctl_remove_empty_elem_arch-v3-0-606da2840a7a@samsung.com>
Dear Joel,
On 02.10.23 13:30, Joel Granados via B4 Relay wrote:
> [...]
I successfully "Build-n-Boot-to-login" tested the following patchset
(together with the ia64 patch from V2 changed to:
```
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c
index 88b3ce3e66cd..65b0781f83ab 100644
--- a/arch/ia64/kernel/crash.c
+++ b/arch/ia64/kernel/crash.c
@@ -232,7 +232,6 @@ static struct ctl_table kdump_ctl_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
- { }
};
#endif
```
...) on top of v6.6-rc4 on my rx2620. I also applied the measurement
patch (commented the printk in `new_dir` and uncommented the if
conditional).
I used a bash arithmetic expression (`accum=$(( accum + n ))`) in your
script to calculate the total memory savings, because `calc` is not
available as package for Debian on ia64.
There are no memory savings for this configuration.
But using the measurement patch with the printk in `new_dir` uncommented
and the if conditional also uncommented I see the following savings (I
assume this is the same as your measurement patch because the other
configuration didn't yield any savings):
```
root@rx2620:~/bin# ./check-mem-savings.bash
64
[...]
64
5888
```
> Joel Granados (7):
> S390: Remove now superfluous sentinel elem from ctl_table arrays
> arm: Remove now superfluous sentinel elem from ctl_table arrays
> arch/x86: Remove now superfluous sentinel elem from ctl_table arrays
> x86/vdso: Remove now superfluous sentinel element from ctl_table array
> riscv: Remove now superfluous sentinel element from ctl_table array
> powerpc: Remove now superfluous sentinel element from ctl_table arrays
> c-sky: Remove now superfluous sentinel element from ctl_talbe array
>
> arch/arm/kernel/isa.c | 4 ++--
> arch/arm64/kernel/armv8_deprecated.c | 8 +++-----
> arch/arm64/kernel/fpsimd.c | 2 --
> arch/arm64/kernel/process.c | 1 -
> arch/csky/abiv1/alignment.c | 1 -
> arch/powerpc/kernel/idle.c | 1 -
> arch/powerpc/platforms/pseries/mobility.c | 1 -
> arch/riscv/kernel/vector.c | 1 -
> arch/s390/appldata/appldata_base.c | 4 +---
> arch/s390/kernel/debug.c | 1 -
> arch/s390/kernel/topology.c | 1 -
> arch/s390/mm/cmm.c | 1 -
> arch/s390/mm/pgalloc.c | 1 -
> arch/x86/entry/vdso/vdso32-setup.c | 1 -
> arch/x86/kernel/cpu/intel.c | 1 -
> arch/x86/kernel/itmt.c | 1 -
> drivers/perf/arm_pmuv3.c | 1 -
> 17 files changed, 6 insertions(+), 25 deletions(-)
> ---
> base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
> change-id: 20230904-jag-sysctl_remove_empty_elem_arch-81db0a6e6cc4
Tested-by: Frank Scheiner <frank.scheiner@web.de> # ia64
Cheers,
Frank
next prev parent reply other threads:[~2023-10-04 15:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-02 11:30 [PATCH v3 0/7] sysctl: Remove sentinel elements from arch Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 1/7] S390: Remove now superfluous sentinel elem from ctl_table arrays Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 2/7] arm: " Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 3/7] arch/x86: " Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 4/7] x86/vdso: Remove now superfluous sentinel element from ctl_table array Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 5/7] riscv: " Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 6/7] powerpc: Remove now superfluous sentinel element from ctl_table arrays Joel Granados via B4 Relay
2023-10-02 11:30 ` [PATCH v3 7/7] c-sky: Remove now superfluous sentinel element from ctl_talbe array Joel Granados via B4 Relay
2023-10-04 15:12 ` Frank Scheiner [this message]
2023-10-05 7:50 ` [PATCH v3 0/7] sysctl: Remove sentinel elements from arch Joel Granados
2023-10-10 22:22 ` Luis Chamberlain
2023-10-11 8:21 ` Joel Granados
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d43037ee-bb7f-0cdc-a14d-8cddca8bb373@web.de \
--to=frank.scheiner@web.de \
--cc=j.granados@samsung.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=tglozar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox