HomeFreeBSD

MFC r331828:

Description

MFC r331828:
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.

Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS331995: Use PLATFORM for initializing Marvell ArmadaXP and Armada38X
Branches
Unknown
Tags
Unknown