linux/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
..
Makefile [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c 2005-08-29 15:51:11 -07:00
datagram.c [IP]: Simplify and consolidate MSG_PEEK error handling 2006-01-03 13:10:41 -08:00
dev.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
dev_mcast.c [NET]: Remove more unneeded typecasts on *malloc() 2006-01-11 16:32:14 -08:00
dst.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
dv.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
ethtool.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
filter.c [NET]: more whitespace issues in net/core/filter.c 2006-01-23 16:26:16 -08:00
flow.c [LSM-IPSec]: Security association restriction. 2006-01-03 13:10:24 -08:00
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c
neighbour.c [NET]: Wider use of for_each_*cpu() 2005-10-25 23:54:01 -02:00
net-sysfs.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
netpoll.c [NET]: Use is_zero_ether_addr() in net/core/netpoll.c 2006-01-17 15:15:38 -08:00
pktgen.c [PKTGEN]: Respect hard_header_len of device. 2006-01-18 14:19:10 -08:00
request_sock.c [ICSK]: Introduce reqsk_queue_prune from code in tcp_synack_timer 2005-08-29 15:49:29 -07:00
rtnetlink.c [RTNETLINK]: Use generic netlink receive queue processor 2005-11-10 02:26:40 +01:00
scm.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
skbuff.c [NET]: Fix skb fclone error path handling. 2006-01-23 16:32:45 -08:00
sock.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
stream.c [NET]: Avoid atomic xchg() for non-error case 2006-01-03 13:10:44 -08:00
sysctl_net_core.c [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00
utils.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
wireless.c Fix net/core/wireless.c link failure 2006-01-10 19:35:19 -08:00