Thread (7 messages) flat view 7 messages, 4 authors, 2025-10-13

Re: [PATCH v2] vdso: Remove struct getcpu_cache

From: Dave Hansen <hidden>
Date: 2025-10-13 14:06:57
Also in: linux-kselftest, linux-s390, linux-um, lkml, loongarch

On 10/13/25 02:20, Thomas Weißschuh wrote:
-int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused);
-int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused)
+int __vdso_getcpu(unsigned int *cpu, unsigned int *node, void *unused);
+int __vdso_getcpu(unsigned int *cpu, unsigned int *node, void *unused)
 {
 	int cpu_id;
It would ideally be nice to have a _bit_ more history on this about
how it became unused any why there is such high confidence that
userspace never tries to use it.

Let's say someone comes along in a few years and wants to use this
'unused' parameter. Could they?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help