Searched hist:"1 d4292bf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bit.c | 1d4292bf Sun Jan 03 23:10:19 CST 2016 Jia He <hejianet@gmail.com> libxfs: Optimize the loop for xfs_bitmap_empty
If there is any non zero bit in a long bitmap, it can jump out of the loop and finish the function as soon as possible.
Signed-off-by: Jia He <hejianet@gmail.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com> 1d4292bf Sun Jan 03 23:10:19 CST 2016 Jia He <hejianet@gmail.com> libxfs: Optimize the loop for xfs_bitmap_empty If there is any non zero bit in a long bitmap, it can jump out of the loop and finish the function as soon as possible. Signed-off-by: Jia He <hejianet@gmail.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
|