FreeBSD Bugzilla – Attachment 234367 Details for
Bug 264383
SMP: Miss access to a global variable in `smp_rendezvous_action` function.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
smp_rendezvous_action.patch
smp.patch (text/plain), 574 bytes, created by
Yuichiro NAITO
on 2022-06-01 02:43:46 UTC
(
hide
)
Description:
smp_rendezvous_action.patch
Filename:
MIME Type:
Creator:
Yuichiro NAITO
Created:
2022-06-01 02:43:46 UTC
Size:
574 bytes
patch
obsolete
>diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c >index a677075937e..d66120666f9 100644 >--- a/sys/kern/subr_smp.c >+++ b/sys/kern/subr_smp.c >@@ -500,8 +500,8 @@ smp_rendezvous_action(void) > * function before moving on to the action function. > */ > if (local_setup_func != smp_no_rendezvous_barrier) { >- if (smp_rv_setup_func != NULL) >- smp_rv_setup_func(smp_rv_func_arg); >+ if (local_setup_func != NULL) >+ local_setup_func(local_func_arg); > atomic_add_int(&smp_rv_waiters[1], 1); > while (smp_rv_waiters[1] < smp_rv_ncpus) > cpu_spinwait();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264383
: 234367