aboutsummaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorFan Li <fanofcode.li@samsung.com>2015-11-12 08:43:04 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:26 +0200
commitd04cad8a000afa61d8111eecd16d0d27baf143fe (patch)
tree586999ab5fc90b1c23615d72aba589a242780467 /include/linux/start_kernel.h
parentfe28574a39af585290fc78566b774388efd40f10 (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 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions