diff options
author | 2011-06-07 18:50:55 -0700 | |
---|---|---|
committer | 2011-07-03 04:04:51 -0700 | |
commit | ac668c69709c7d927015c5cf3d9e87bf4eaaf57d (patch) | |
tree | 16a42117d260a86b8217d266ab65b25438c48e06 /fs/jbd2/commit.c | |
parent | isci: Disable link layer hang detection (diff) | |
download | linux-rng-ac668c69709c7d927015c5cf3d9e87bf4eaaf57d.tar.xz linux-rng-ac668c69709c7d927015c5cf3d9e87bf4eaaf57d.zip |
isci: cleanup/optimize pool implementation
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions