s390: drop smp_mb in vdso_init
PATCH 1/1 s390: drop smp_mb in vdso_init
The initial s390 vdso code is heavily influenced by the powerpc version which does have a smp_wmb in vdso_init right before the vdso_ready=1 assignment. s390 has no need for that.
Signed-off-by Michael S. Tsirkin <[email protected]>
---
Untested.
arch/s390/kernel/vdso.c | 2 -- 1 file changed, 2 deletions(-)
arch/s390/kernel/vdso.c +0 -2
@@ -299,8 +299,6 @@ static int __init vdso_init(void)get_page (virt_to_page (vdso_data)); -smp_mb (); -return 0 ; }early_initcall (vdso_init);
Signature · 1 line
MST
Christian Borntraeger
AppliedQuoted 18 lines · Michael S. Tsirkin
The initial s390 vdso code is heavily influenced by the powerpc version which does have a
smp_wmbinvdso_initright before the vdso_ready=1 assignment. s390 has no need for that.Signed-off-by Michael S. Tsirkin <[email protected]>---
Untested.
arch/s390/kernel/vdso.c | 2 -- 1 file changed, 2 deletions(-)arch/s390/kernel/vdso.c +0
-0
arch/s390/kernel/vdso.c static int __init vdso_init(void) · line 304
Quoted 8 lines
arch/s390/kernel/vdso.c +0
-2@@ -299,8 +299,6 @@ static int __init vdso_init(void)get_page (virt_to_page (vdso_data)); -smp_mb (); -return 0 ; }early_initcall (vdso_init);
applied to the s390 tree.
Thanks.