freebsd-nq/sys/geom/gate
Pawel Jakub Dawidek e35d3a7828 - Remove g_gate_hold()/g_gate_release() from start/done paths. It saves
4 mutex operations per I/O requests.
- Use only one mutex to protect both (incoming and outgoing) queue.
  As MUTEX_PROFILING(9) shows, there is no big contention for this lock.
- Protect sc_queue_count with queue mutex, instead of doing atomic
  operations on it.
- Remove DROP_GIANT()/PICKUP_GIANT() - ggate is marked as MPSAFE and no
  Giant there.
2005-02-09 08:29:39 +00:00
..
g_gate.c - Remove g_gate_hold()/g_gate_release() from start/done paths. It saves 2005-02-09 08:29:39 +00:00
g_gate.h - Remove g_gate_hold()/g_gate_release() from start/done paths. It saves 2005-02-09 08:29:39 +00:00