-
- Downloads
xfs: byteswap constants instead of variables
Micro-optimize various comparisms by always byteswapping the constant instead of the variable, which allows to do the swap at compile instead of runtime. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Alex Elder <aelder@sgi.com> Reviewed-by:
Dave Chinner <dchinner@redhat.com>
Showing
- fs/xfs/xfs_alloc.c 1 addition, 1 deletionfs/xfs/xfs_alloc.c
- fs/xfs/xfs_attr.c 9 additions, 10 deletionsfs/xfs/xfs_attr.c
- fs/xfs/xfs_attr_leaf.c 30 additions, 30 deletionsfs/xfs/xfs_attr_leaf.c
- fs/xfs/xfs_bmap.c 1 addition, 1 deletionfs/xfs/xfs_bmap.c
- fs/xfs/xfs_bmap_btree.c 4 additions, 4 deletionsfs/xfs/xfs_bmap_btree.c
- fs/xfs/xfs_btree.c 14 additions, 14 deletionsfs/xfs/xfs_btree.c
- fs/xfs/xfs_da_btree.c 29 additions, 29 deletionsfs/xfs/xfs_da_btree.c
- fs/xfs/xfs_dir2_block.c 11 additions, 7 deletionsfs/xfs/xfs_dir2_block.c
- fs/xfs/xfs_dir2_data.c 24 additions, 23 deletionsfs/xfs/xfs_dir2_data.c
- fs/xfs/xfs_dir2_leaf.c 32 additions, 27 deletionsfs/xfs/xfs_dir2_leaf.c
- fs/xfs/xfs_dir2_node.c 28 additions, 25 deletionsfs/xfs/xfs_dir2_node.c
- fs/xfs/xfs_ialloc.c 7 additions, 7 deletionsfs/xfs/xfs_ialloc.c
- fs/xfs/xfs_inode.c 6 additions, 7 deletionsfs/xfs/xfs_inode.c
- fs/xfs/xfs_log.c 2 additions, 2 deletionsfs/xfs/xfs_log.c
- fs/xfs/xfs_log_recover.c 10 additions, 10 deletionsfs/xfs/xfs_log_recover.c
Loading
Please register or sign in to comment