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
firmware_class
kobject
kprobes
markers
tracepoints
Kconfig -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 100 bytes

back to top