summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorFan Li <fanofcode.li@samsung.com>2015-11-12 08:43:04 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-04 11:52:35 -0800
commit692223d132067ef2c392adec6f1324d581496212 (patch)
treebddf5a055f8fe120054be8bd79d81c23bba0292b /kernel/debug
parenteb7e813cc791735f2428202d5249a8fd769df1f3 (diff)
f2fs: optimize __find_rev_next_bit
1. Skip __reverse_ulong if the bitmap is empty. 2. Reduce branches and codes. According to my test, the performance of this new version is 5% higher on an empty bitmap of 64bytes, and remains about the same in the worst scenario. Signed-off-by: Fan li <fanofcode.li@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions