freebsd-dev/sys/compat/linuxkpi/common
Hans Petter Selasky 4b70609941 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
2018-03-30 20:11:12 +00:00
..
include Optimise use of Giant in the LinuxKPI. 2018-03-30 20:11:12 +00:00
src Optimise use of Giant in the LinuxKPI. 2018-03-30 20:11:12 +00:00