From: Dan Williams Date: Wed, 8 Jun 2011 01:50:55 +0000 (-0700) Subject: isci: cleanup/optimize pool implementation X-Git-Tag: v3.0-rc6~1^2~1^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac668c69709c7d927015c5cf3d9e87bf4eaaf57d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed