linux/block
Eric Dumazet 88a2a4ac6b [PATCH] percpu data: only iterate over possible CPUs
percpu_data blindly allocates bootmem memory to store NR_CPUS instances of
cpudata, instead of allocating memory only for possible cpus.

As a preparation for changing that, we need to convert various 0 -> NR_CPUS
loops to use for_each_cpu().

(The above only applies to users of asm-generic/percpu.h.  powerpc has gone it
alone and is presently only allocating memory for present CPUs, so it's
currently corrupting memory).

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <axboe@suse.de>
Cc: Anton Blanchard <anton@samba.org>
Acked-by: William Irwin <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-05 11:06:51 -08:00
..
as-iosched.c [BLOCK] as-iosched: update alias handling 2006-01-06 09:39:03 +01:00
cfq-iosched.c [BLOCK] mark some block/ variables cons 2006-01-06 09:46:02 +01:00
deadline-iosched.c [BLOCK] mark some block/ variables cons 2006-01-06 09:46:02 +01:00
elevator.c [BLOCK] elevator: allow default scheduler to potentially be modular 2006-01-24 10:09:14 +01:00
genhd.c [PATCH] convert /proc/devices to use seq_file interface 2006-01-14 18:25:19 -08:00
ioctl.c [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
Kconfig [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
Kconfig.iosched [BLOCK] iosched: fix setting of default io scheduler 2005-11-04 08:44:58 +01:00
ll_rw_blk.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
Makefile [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
noop-iosched.c [BLOCK] noop-iosched: reimplementation of request dispatching 2005-11-12 10:56:52 +01:00
scsi_ioctl.c [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00