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
..
2006-01-12 11:55:16 -06:00
2006-01-31 14:39:50 -06:00
2006-01-09 13:56:42 +00:00
2005-07-27 16:26:08 -07:00
2006-01-26 08:10:08 -05:00
2006-01-12 11:36:37 -06:00
2006-01-29 11:25:30 -06:00
2006-01-06 00:03:24 +01:00
2006-01-26 08:17:25 -05:00
2005-12-15 18:41:27 -08:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-12-15 18:41:27 -08:00
2005-12-16 09:51:01 -08:00
2005-10-28 21:10:16 -05:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-01-29 12:40:57 -05:00
2006-01-14 18:27:06 -08:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-01-17 19:31:54 -05:00
2005-11-07 07:53:41 -08:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:10:16 -05:00
2005-09-15 08:59:36 -05:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 15:26:13 -06:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-01-12 11:53:11 -06:00
2005-12-15 18:41:13 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-26 08:11:13 -05:00
2005-11-09 15:44:09 -05:00
2006-01-14 10:54:54 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:04:15 -05:00
2005-11-07 07:54:01 -08:00
2006-01-12 09:09:00 -08:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:10:16 -05:00
2006-01-15 02:12:54 +01:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:48:20 -05:00
2006-01-15 02:00:17 +01:00
2005-11-09 15:48:20 -05:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-01-12 11:53:11 -06:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-02-01 08:53:09 -08:00
2005-10-28 21:10:16 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-07-27 16:26:08 -07:00
2005-06-25 16:25:00 -07:00
2006-01-04 18:44:12 -08:00
2005-12-13 18:10:58 -07:00
2006-01-31 14:43:18 -06:00
2005-11-10 08:29:07 -06:00
2006-01-14 18:27:06 -08:00
2006-01-14 10:55:18 -06:00
2005-11-09 15:44:09 -05:00
2006-01-06 08:33:57 -08:00
2005-10-21 22:57:43 -04:00
2006-01-17 19:37:45 -05:00
2006-01-30 16:09:35 +01:00
2006-01-06 09:56:18 +01:00
2006-01-09 14:53:55 +11:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-01-14 12:16:07 -08:00
2005-11-09 15:44:09 -05:00
2006-01-12 11:53:11 -06:00
2006-01-12 11:53:11 -06:00
2006-01-09 14:53:55 +11:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-12-16 10:53:47 -08:00
2005-12-16 10:53:47 -08:00
2005-11-09 15:44:09 -05:00
2006-01-12 09:09:05 -08:00
2005-11-09 15:48:20 -05:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 07:55:57 -08:00
2006-01-12 09:09:00 -08:00
2005-11-07 07:53:59 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-10 08:29:07 -06:00
2005-12-06 04:49:22 -05:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-10-28 21:10:16 -05:00
2005-11-09 15:44:09 -05:00
2006-01-26 08:08:26 -05:00
2005-08-02 11:43:52 -05:00
2005-10-28 21:10:16 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-14 13:44:32 -07:00
2006-01-12 11:35:15 -06:00
2006-01-06 09:55:00 +01:00
2006-01-09 10:42:06 -05:00
2006-01-17 08:06:21 -05:00
2005-08-28 20:18:39 -04:00
2005-12-06 04:49:22 -05:00
2006-01-06 09:55:00 +01:00
2006-01-06 09:55:00 +01:00
2006-01-06 09:55:00 +01:00
2006-01-17 07:58:42 -05:00
2006-01-06 09:55:00 +01:00
2006-01-06 09:55:00 +01:00
2006-01-06 09:55:00 +01:00
2006-01-06 09:55:00 +01:00
2006-01-13 11:26:10 -08:00
2005-12-13 18:12:05 -07:00
2006-01-26 15:13:50 -05:00
2005-10-28 17:41:39 -05:00
2006-01-26 15:13:50 -05:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:21 -06:00
2006-01-31 14:39:36 -06:00
2006-01-14 10:55:01 -06:00
2005-11-09 15:48:20 -05:00
2006-02-05 11:06:51 -08:00
2006-01-14 10:54:45 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-01-26 15:13:50 -05:00
2005-11-10 08:29:07 -06:00
2006-01-14 10:54:46 -06:00
2005-12-17 10:50:23 -06:00
2006-01-14 18:27:06 -08:00
2005-08-28 11:14:12 -05:00
2006-01-26 15:13:50 -05:00
2005-12-14 19:16:31 -08:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:04:15 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-01-12 09:09:04 -08:00
2005-10-21 22:36:40 -04:00