Page MenuHomeFreeBSD

smp: add smp_rendezvous_cpu helper function
ClosedPublic

Authored by aokblast on Jan 6 2026, 4:00 AM.
Tags
None
Referenced Files
F173116511: D54551.id169846.diff
Wed, Sep 23, 5:47 PM
F173103023: D54551.id169153.diff
Wed, Sep 23, 3:23 PM
F173100933: D54551.id169846.diff
Wed, Sep 23, 2:52 PM
F173087868: D54551.diff
Wed, Sep 23, 12:12 PM
F173067043: D54551.id169153.diff
Wed, Sep 23, 8:07 AM
Unknown Object (File)
Tue, Sep 22, 10:55 AM
Unknown Object (File)
Mon, Sep 21, 8:21 PM
Unknown Object (File)
Mon, Sep 21, 4:26 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 69647
Build 66530: arc lint + arc unit

Event Timeline

Indentation of continuation lines for arguments is not as per style(9) (4 spaces, not a 8-space TAB), but consistent with some other smp_rendezvous_*() functions, so I'm fine with that (and these could all be fixed in a subsequent commit).

This revision is now accepted and ready to land.Jan 6 2026, 9:01 AM

Looks ok, but I'd use int in the function signature.

sys/kern/subr_smp.c
628

The cpuid type is usually int (see ipi_cpu() for instance) or u_int, we should follow that convention instead of using a fixed-width type.

This revision was automatically updated to reflect the committed changes.

Looks ok, but I'd use int in the function signature.

I use u_int since pcpu->cpuid is u_int.