commit | 9155203a5de94278525647b16733f0c315f3b786 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed May 06 16:03:02 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed May 06 16:36:10 2009 -0700 |
tree | 68d64b7cf9671c2a725f4f191b3cfb4b37e41f32 | |
parent | 74614f8d9d4141a3752fc1c38706859b63f4842b [diff] |
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 <dhowells@redhat.com> Tested-by: Lanttor Guo <lanttor.guo@freescale.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>