kib fd64376ccf Micro-manage clang to get the expected inlining for cpu_search().
Mark cpu_search_lowest/cpu_search_highest/cpu_search_both as noinline,
while cpu_search() gets always_inline.  With the attributes set,
cpu_search() is inlined in wrappers, and if()s with constant
conditionals are optimized.

On some tests on many-core machine, the hwpmc reported samples for
cpu_search*() are reduced from 25% total to 9%.

Submitted by:	"Rang, Anton" <anton.rang@isilon.com>
MFC after:	1 week
2014-07-03 11:06:27 +00:00
..
2014-07-02 13:24:21 +00:00
2014-07-01 06:43:15 +00:00
2014-07-02 22:04:14 +00:00
2014-06-14 12:26:12 +00:00
2014-06-28 17:36:18 +00:00
2014-06-28 17:36:18 +00:00
2014-07-02 13:24:21 +00:00
2014-06-16 08:54:04 +00:00