aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mvme16x
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-13 23:33:52 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-23 10:02:14 +0900
commitea64ab87cdba9e1172392d247e6526359e301f12 (patch)
tree644b2af0f1c20e79375d226c167c0b4f4d3a0ade /arch/m68k/mvme16x
parent364ec2d700223b965620ff4d5031a3665d195873 (diff)
downloadkernel_samsung_smdk4412-ea64ab87cdba9e1172392d247e6526359e301f12.zip
kernel_samsung_smdk4412-ea64ab87cdba9e1172392d247e6526359e301f12.tar.gz
kernel_samsung_smdk4412-ea64ab87cdba9e1172392d247e6526359e301f12.tar.bz2
nilfs2: optimize calculation of min/max number of btree node children
nilfs_btree_node_nchildren_max() and nilfs_btree_node_nchildren_min() functions switch return value depending on whether target node is the root or a node block. In most uses of these functions, however, the node type is fixed, and moreover the same calculation is repeatedly performed in loop. This unfold these functions depending on context and move them outside loops wherever possible. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'arch/m68k/mvme16x')
0 files changed, 0 insertions, 0 deletions