Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102641186
D26507.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D26507.diff
View Options
Index: stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
===================================================================
--- stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
+++ stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
@@ -184,16 +184,16 @@
SYSCTL_ADD_PROC(&ksp->ks_sysctl_ctx,
SYSCTL_CHILDREN(ksp->ks_sysctl_root),
OID_AUTO, ksent->name,
- CTLTYPE_STRING | CTLFLAG_RD, ksp, i,
- kstat_sysctl_string, "A", ksent->desc);
+ CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ ksp, i, kstat_sysctl_string, "A", ksent->desc);
continue;
}
KASSERT(ksent->data_type == KSTAT_DATA_UINT64,
("data_type=%d", ksent->data_type));
SYSCTL_ADD_PROC(&ksp->ks_sysctl_ctx,
SYSCTL_CHILDREN(ksp->ks_sysctl_root), OID_AUTO, ksent->name,
- CTLTYPE_U64 | CTLFLAG_RD, ksp, i,
- kstat_sysctl, "QU", ksent->desc);
+ CTLTYPE_U64 | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ ksp, i, kstat_sysctl, "QU", ksent->desc);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 5:33 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14653743
Default Alt Text
D26507.diff (1 KB)
Attached To
Mode
D26507: Flag kstat sysctls as MPSAFE.
Attached
Detach File
Event Timeline
Log In to Comment