commit | c0d19e2b9a521bbdc33049ad92c94b517afda1f0 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Fri Apr 24 19:11:57 2015 +0200 |
committer | Chris Mason <clm@fb.com> | Tue Jun 02 19:34:34 2015 -0700 |
tree | 027f98e9d86a03a53c41fb3c34878c6f12457dc8 | |
parent | 1a9a8a71ed1d457d4f03284ebfd3e40fe1e217ac [diff] |
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 <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>