From: David Sterba Date: Fri, 24 Apr 2015 17:11:57 +0000 (+0200) Subject: btrfs: add 'cold' compiler annotations to all error handling functions X-Git-Tag: omap-for-v4.2/fixes-rc1^2~69^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d19e2b9a521bbdc33049ad92c94b517afda1f0;p=pandora-kernel.git btrfs: add 'cold' compiler annotations to all error handling functions The annotated functios will be placed into .text.unlikely section. The annotation also hints compiler to move the code out of the hot paths, and may implicitly mark if-statement leading to that block as unlikely. This is a heuristic, the impact on the generated code is not significant. Signed-off-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed