for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu under /net Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
|---|---|---|
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| nf_conntrack_core.c | ||
| nf_conntrack_ftp.c | ||
| nf_conntrack_l3proto_generic.c | ||
| nf_conntrack_netlink.c | ||
| nf_conntrack_proto_generic.c | ||
| nf_conntrack_proto_sctp.c | ||
| nf_conntrack_proto_tcp.c | ||
| nf_conntrack_proto_udp.c | ||
| nf_conntrack_standalone.c | ||
| nf_internals.h | ||
| nf_log.c | ||
| nf_queue.c | ||
| nf_sockopt.c | ||
| nfnetlink.c | ||
| nfnetlink_log.c | ||
| nfnetlink_queue.c | ||
| x_tables.c | ||
| xt_CLASSIFY.c | ||
| xt_comment.c | ||
| xt_connbytes.c | ||
| xt_CONNMARK.c | ||
| xt_connmark.c | ||
| xt_conntrack.c | ||
| xt_dccp.c | ||
| xt_esp.c | ||
| xt_helper.c | ||
| xt_length.c | ||
| xt_limit.c | ||
| xt_mac.c | ||
| xt_MARK.c | ||
| xt_mark.c | ||
| xt_multiport.c | ||
| xt_NFQUEUE.c | ||
| xt_NOTRACK.c | ||
| xt_physdev.c | ||
| xt_pkttype.c | ||
| xt_policy.c | ||
| xt_realm.c | ||
| xt_sctp.c | ||
| xt_state.c | ||
| xt_string.c | ||
| xt_tcpmss.c | ||
| xt_tcpudp.c | ||