Andrew Morton
394e3902c5
[PATCH] more for_each_cpu() conversions
...
When we stop allocating percpu memory for not-possible CPUs we must not touch
the percpu data for not-possible CPUs at all. The correct way of doing this
is to test cpu_possible() or to use for_each_cpu().
This patch is a kernel-wide sweep of all instances of NR_CPUS. I found very
few instances of this bug, if any. But the patch converts lots of open-coded
test to use the preferred helper macros.
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Christian Zankel <chris@zankel.net>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: Nathan Scott <nathans@sgi.com>
Cc: Jens Axboe <axboe@suse.de>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:17 -08:00
..
2006-03-20 01:16:36 -08:00
2005-06-07 12:35:43 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:43 -08:00
2006-03-23 07:38:17 -08:00
2005-06-27 17:04:45 -07:00
2005-09-07 16:57:21 -07:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:11:06 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:01 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:10 -08:00
2005-09-25 16:46:57 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:19 -07:00
2005-04-16 15:20:36 -07:00
2006-03-22 01:15:14 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 08:16:49 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 14:09:19 -08:00
2006-03-20 01:13:26 -08:00
2005-07-26 14:35:41 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:38 -07:00
2005-04-16 15:20:36 -07:00
2005-06-27 17:04:45 -07:00
2005-04-16 15:20:36 -07:00
2006-03-04 23:23:56 -08:00
2005-08-29 22:46:43 -07:00
2006-03-20 01:13:18 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:09 -08:00
2005-09-19 20:11:57 -07:00
2006-03-20 01:12:08 -08:00
2006-03-20 01:11:44 -08:00
2005-08-31 15:01:33 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-31 16:57:59 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:13:24 -08:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:38 -07:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:40 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-15 15:32:22 -08:00
2006-03-22 01:15:14 -08:00
2006-03-22 01:15:14 -08:00
2005-04-16 15:20:36 -07:00
2005-04-24 12:28:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:22 -08:00
2005-09-29 17:58:26 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:25 -08:00
2006-03-22 01:15:14 -08:00
2005-07-08 15:21:51 -07:00
2005-07-06 15:41:54 -07:00
2006-03-20 01:12:11 -08:00
2006-03-20 01:12:10 -08:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:17 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:14 -08:00
2006-03-22 01:15:14 -08:00
2006-03-20 01:14:21 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:16:35 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:13:02 -08:00
2005-11-07 07:53:42 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:44 -08:00
2005-07-11 13:44:56 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:27 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 12:45:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:08 -07:00
2005-07-04 13:24:38 -07:00
2006-03-20 01:14:24 -08:00
2005-08-29 15:31:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:22 -08:00
2005-09-10 10:06:21 -07:00
2006-01-23 21:03:56 -08:00
2006-03-20 01:11:39 -08:00
2005-04-16 15:20:36 -07:00
2005-04-18 15:13:15 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:49 -08:00
2005-04-16 15:20:36 -07:00
2005-11-07 14:10:42 -08:00
2006-03-20 01:11:33 -08:00
2005-07-24 19:36:13 -07:00
2006-03-20 01:13:29 -08:00
2005-11-07 14:12:08 -08:00
2006-03-20 01:11:13 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:13:56 -08:00
2006-03-20 01:13:34 -08:00
2005-09-05 00:05:48 -07:00
2006-03-20 01:13:28 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-12 23:30:11 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:13:05 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:03 -08:00