Page MenuHomeFreeBSD

Only return the current cpu if it's in the cpumask
ClosedPublic

Authored by andrew on Aug 10 2017, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 13, 6:37 PM
Unknown Object (File)
Tue, Dec 2, 12:23 AM
Unknown Object (File)
Nov 27 2025, 6:01 PM
Unknown Object (File)
Nov 25 2025, 12:02 AM
Unknown Object (File)
Nov 21 2025, 9:39 PM
Unknown Object (File)
Nov 21 2025, 3:42 AM
Unknown Object (File)
Nov 21 2025, 3:38 AM
Unknown Object (File)
Nov 21 2025, 3:37 AM
Subscribers
None

Details

Summary

When we restrict the cpumask it probably means we are unable to
sent interrupts to CPUs outside the map. As such only return the
current CPU when it's within the mask otherwise return the first
valid CPU.

This is needed on ThunderX as, in a dual socket configuration, we
are unable to send MSI/MSI-X interrupts between sockets.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 11 2017, 11:24 AM
This revision was automatically updated to reflect the committed changes.