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: Wed, 01 Apr 2009 09:08:31 +0900 From: Tejun Heo <tj@...nel.org> To: Martin Schwidefsky <schwidefsky@...ibm.com> CC: mingo@...e.hu, rusty@...tcorp.com.au, tglx@...utronix.de, x86@...nel.org, linux-kernel@...r.kernel.org, hpa@...or.com, Paul Mundt <lethal@...ux-sh.org>, rmk@....linux.org.uk, starvik@...s.com, ralf@...ux-mips.org, davem@...emloft.net, cooloney@...nel.org, kyle@...artin.ca, matthew@....cx, grundler@...isc-linux.org, takata@...ux-m32r.org, benh@...nel.crashing.org, rth@...ddle.net, ink@...assic.park.msu.ru, heiko.carstens@...ibm.com Subject: Re: [PATCH UPDATED] percpu: use dynamic percpu allocator as the default percpu allocator Hello, Martin Schwidefsky wrote: > On Mon, 30 Mar 2009 19:07:44 +0900 > Tejun Heo <tj@...nel.org> wrote: > >> Okay, this should keep s390 and alpha working till proper solution is >> found. Martin, can you please verify? Ingo, please feel free to push >> this upstream (or -next) once Martin acks. > > Looks good, everything compiles and the static per-cpu variables are > resolved via GOTENT: > > Acked-by: Martin Schwidefsky <schwidefsky@...ibm.com> Thanks. > For the proper solution, the easiest fix is imho to define a > variant of SHIFT_PERCPU_PTR. The macro is currently used for dynamic > pointers and for per-cpu symbols. We only want to use the GOTENT > indirection for per-cpu symbols. So why don't we split it into > 1) SHIFT_PERCPU_SYMBOL for per-cpu symbols and > 2) SHIFT_PERCPU_PTR for dynamically allocated pointers? > For s390 the first would be the current SHIFT_PERCPU_PTR macro, the > second would be a simple RELOC_HIDE. The patch would be really > short .. Eh... I wrote in the other reply but unifying the two is kind of one of the main goals, so.... -- tejun -- 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