https://github.com/torvalds/linux
Revision 9155203a5de94278525647b16733f0c315f3b786 authored by David Howells on 06 May 2009, 23:03:02 UTC, committed by Linus Torvalds on 06 May 2009, 23:36:10 UTC
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>
1 parent 74614f8
History
Tip revision: 9155203a5de94278525647b16733f0c315f3b786 authored by David Howells on 06 May 2009, 23:03:02 UTC
mm: use roundown_pow_of_two() in zone_batchsize()
Tip revision: 9155203
File Mode Size
Kconfig -rw-r--r-- 36.4 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 5.0 KB
do_mounts.c -rw-r--r-- 9.2 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.2 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.0 KB
initramfs.c -rw-r--r-- 12.6 KB
main.c -rw-r--r-- 21.4 KB
noinitramfs.c -rw-r--r-- 1.4 KB
version.c -rw-r--r-- 1.1 KB

back to top