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-03-18 21:34:11 +00:00
2014-03-14 06:29:43 +00:00
2014-06-28 17:36:18 +00:00
2012-08-22 20:01:57 +00:00
2012-11-14 10:33:12 +00:00
2014-03-19 12:45:40 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2012-06-25 05:41:16 +00:00
2014-06-01 04:11:05 +00:00
2014-03-18 21:34:11 +00:00
2014-03-18 21:34:11 +00:00
2012-10-25 09:05:21 +00:00
2014-05-30 08:22:58 +00:00
2014-06-27 05:04:36 +00:00
MFC
2013-02-21 21:59:35 +00:00
2014-04-12 21:39:17 +00:00