lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 10 Feb 2014 11:34:55 +0000 From: Sudeep Holla <Sudeep.Holla@....com> To: Heiko Carstens <heiko.carstens@...ibm.com> CC: Sudeep.Holla@....com, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Martin Schwidefsky <schwidefsky@...ibm.com>, "linux390@...ibm.com" <linux390@...ibm.com>, "linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org> Subject: Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure On 10/02/14 09:50, Heiko Carstens wrote: > On Fri, Feb 07, 2014 at 04:49:18PM +0000, Sudeep Holla wrote: >> From: Sudeep Holla <sudeep.holla@....com> >> >> This patch removes the redundant sysfs cacheinfo code by making use of >> the newly introduced generic cacheinfo infrastructure. >> >> Signed-off-by: Sudeep Holla <sudeep.holla@....com> >> Cc: Martin Schwidefsky <schwidefsky@...ibm.com> >> Cc: Heiko Carstens <heiko.carstens@...ibm.com> >> Cc: linux390@...ibm.com >> Cc: linux-s390@...r.kernel.org >> --- > > [...] > >> diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c >> index 2461202..1f875db 100644 >> --- a/arch/s390/kernel/processor.c >> +++ b/arch/s390/kernel/processor.c >> @@ -58,7 +58,6 @@ static int show_cpuinfo(struct seq_file *m, void *v) >> if (hwcap_str[i] && (elf_hwcap & (1UL << i))) >> seq_printf(m, "%s ", hwcap_str[i]); >> seq_puts(m, "\n"); >> - show_cacheinfo(m); >> } >> get_online_cpus(); >> if (cpu_online(n)) { > > You can't remove that. It's a user space visible change. > Correct, I wanted to add show_cacheinfo back as its user ABI already, missed it. Is it ok if I use cpu0 cacheinfo or to be safer as cpu0 can be offline, use the cacheinfo of the cpu executing this ? Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists