https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240180
Bug ID: 240180
Summary: Stop abusing __pcpu in bhyve
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bhyve
Assignee: [email protected]
Reporter: [email protected]
In the case of &__pcpu[curcpu], it would be better to use PCPU_GET(prvspace).
curcpu is already PCPU_GET(cpuid), so getting prvspace is probably fewer
instructions, but it also avoids bhyve assuming details about how pcpu
structures are allocated.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to
"[email protected]"