HomeFreeBSD

Optimise use of Giant in the LinuxKPI.

Description

Optimise use of Giant in the LinuxKPI.

  • Make sure Giant is locked when calling PCI device methods.

Newbus currently requires this.

  • Avoid unlocking Giant right before aquiring the sleepqueue lock.

This can save a task switch.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS331827: Remove unused structure field in mlx5core.
Branches
Unknown
Tags
Unknown