kernel-ark/net/core
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
..
datagram.c
dev_mcast.c
dev.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
dst.c
dv.c
ethtool.c
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c
Makefile
neighbour.c
net-sysfs.c
netpoll.c
pktgen.c
request_sock.c
rtnetlink.c
scm.c
skbuff.c [NET]: Fix skb fclone error path handling. 2006-01-23 16:32:45 -08:00
sock.c
stream.c
sysctl_net_core.c
utils.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
wireless.c