diff options
| author | David Howells <[email protected]> | 2009-05-06 23:03:02 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-05-06 23:36:10 +0000 |
| commit | 9155203a5de94278525647b16733f0c315f3b786 (patch) | |
| tree | 68d64b7cf9671c2a725f4f191b3cfb4b37e41f32 /fs/jbd2/commit.c | |
| parent | isl29003: fix resume functionality (diff) | |
| download | kernel-9155203a5de94278525647b16733f0c315f3b786.tar.gz kernel-9155203a5de94278525647b16733f0c315f3b786.zip | |
mm: use roundown_pow_of_two() in zone_batchsize()
Use roundown_pow_of_two(N) in zone_batchsize() rather than (1 <<
(fls(N)-1)) as they are equivalent, and with the former it is easier to
see what is going on.
Signed-off-by: David Howells <[email protected]>
Tested-by: Lanttor Guo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
