From: Chao Yu Date: Thu, 5 Dec 2013 09:15:22 +0000 (+0800) Subject: f2fs: add unlikely() macro for compiler optimization X-Git-Tag: v3.14-rc1~122^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb271d485d0ec31eb92b51f4fbe54bf6542e8e6;p=pandora-kernel.git f2fs: add unlikely() macro for compiler optimization As we know, some of our branch condition will rarely be true. So we could add 'unlikely' to let compiler optimize these code, by this way we could drop unneeded 'jump' assemble code to improve performance. change log: o add *unlikely* as many as possible across the whole source files at once suggested by Jaegeuk Kim. Suggested-by: Jaegeuk Kim Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed