+51
−24
+4
−8
+1
−0
drivers/scsi/isci/pool.h
deleted100644 → 0
+0
−199
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The circ_buf macros are ~6% faster, as measured by perf, because they take
advantage of power-of-two math assumptions i.e. no test and branch for
rollover. Their semantics are clearer than the hidden side effects in pool.h
(like sci_pool_get() which hides an assignment).
Signed-off-by:
Dan Williams <dan.j.williams@intel.com>