Mike Galbraith
fd210738f6
sched: Fix affinity logic in select_task_rq_fair()
Ingo Molnar reported:
[ 26.804000] BUG: using smp_processor_id() in preemptible [00000000] code: events/1/10
[ 26.808000] caller is vmstat_update+0x26/0x70
[ 26.812000] Pid: 10, comm: events/1 Not tainted 2.6.32-rc5 #6887
[ 26.816000] Call Trace:
[ 26.820000] [<c1924a24>] ? printk+0x28/0x3c
[ 26.824000] [<c13258a0>] debug_smp_processor_id+0xf0/0x110
[ 26.824000] mount used greatest stack depth: 1464 bytes left
[ 26.828000] [<c111d086>] vmstat_update+0x26/0x70
[ 26.832000] [<c1086418>] worker_thread+0x188/0x310
[ 26.836000] [<c10863b7>] ? worker_thread+0x127/0x310
[ 26.840000] [<c108d310>] ? autoremove_wake_function+0x0/0x60
[ 26.844000] [<c1086290>] ? worker_thread+0x0/0x310
[ 26.848000] [<c108cf0c>] kthread+0x7c/0x90
[ 26.852000] [<c108ce90>] ? kthread+0x0/0x90
[ 26.856000] [<c100c0a7>] kernel_thread_helper+0x7/0x10
[ 26.860000] BUG: using smp_processor_id() in preemptible [00000000] code: events/1/10
[ 26.864000] caller is vmstat_update+0x3c/0x70
Because this commit:
a1f84a3: sched: Check for an idle shared cache in select_task_rq_fair()
broke ->cpus_allowed.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: arjan@infradead.org
Cc: <stable@kernel.org>
LKML-Reference: <1257415066.12867.1.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-05 11:01:39 +01:00
..
2009-09-21 14:29:21 +02:00
2009-10-11 11:20:58 -07:00
2009-10-22 08:23:45 +09:00
2009-10-11 11:20:58 -07:00
2009-10-14 15:24:51 -07:00
2009-08-24 11:33:40 +10:00
2009-06-08 12:31:53 -07:00
2009-06-24 00:02:38 -04:00
2009-09-24 03:50:25 -04:00
2009-09-24 03:50:26 -04:00
2009-06-24 00:02:38 -04:00
2009-06-24 00:00:52 -04:00
2009-09-24 03:50:26 -04:00
2009-09-24 07:20:58 -07:00
2009-10-01 16:11:12 -07:00
2009-04-30 19:24:24 +02:00
2009-09-15 09:19:38 -07:00
2009-11-04 13:16:40 +01:00
2009-09-23 11:02:26 -07:00
2009-09-18 09:48:52 -07:00
2009-10-08 12:16:35 -07:00
2009-04-05 11:04:19 -07:00
2009-10-08 12:16:35 -07:00
2009-07-18 14:19:53 +02:00
2009-08-10 15:41:12 +02:00
2009-10-08 12:16:35 -07:00
2009-06-16 19:47:48 -07:00
2009-10-05 12:04:16 -07:00
2009-09-24 07:21:04 -07:00
2009-08-29 14:10:07 +02:00
2009-09-23 07:39:30 -07:00
2009-07-29 19:10:34 -07:00
2009-09-19 13:13:17 -07:00
2009-11-04 11:43:42 +01:00
2009-09-23 18:12:10 -07:00
2009-10-01 16:11:11 -07:00
2009-09-09 17:30:06 +02:00
2009-07-24 10:53:29 +02:00
2009-09-23 07:39:29 -07:00
2009-10-09 15:56:44 +02:00
2009-09-24 07:20:57 -07:00
2009-10-01 16:11:11 -07:00
2009-10-11 11:20:58 -07:00
2009-06-11 17:55:42 +02:00
2009-09-24 07:20:58 -07:00
2009-06-18 13:03:56 -07:00
2009-10-08 12:16:35 -07:00
2009-09-25 00:32:58 +09:30
2009-10-06 14:21:50 +02:00
2009-09-24 07:21:04 -07:00
2009-09-22 07:17:38 -07:00
2009-08-29 14:10:07 +02:00
2009-08-21 21:43:46 +02:00
2009-09-23 07:39:28 -07:00
2009-09-20 20:15:40 +02:00
2009-09-24 07:20:59 -07:00
2009-10-07 08:11:20 +02:00
2009-09-23 19:46:30 +02:00
2009-10-07 08:11:20 +02:00
2009-10-07 08:11:20 +02:00
2009-10-07 08:11:21 +02:00
2009-10-07 08:11:20 +02:00
2009-09-27 11:39:25 -07:00
2009-10-01 16:11:13 -07:00
2009-09-23 07:39:41 -07:00
2009-04-06 11:14:02 +02:00
2009-08-06 05:50:21 +02:00
2009-09-30 22:56:10 +02:00
2009-08-02 14:26:09 +02:00
2009-11-04 19:13:48 +01:00
2009-11-05 11:01:39 +01:00
2009-09-17 10:17:25 +02:00
2009-09-21 09:53:55 +02:00
2009-11-04 13:16:38 +01:00
2009-11-04 19:13:48 +01:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:21:04 -07:00
2009-09-24 09:34:47 +09:30
2009-09-17 15:53:44 -04:00
2009-09-24 07:21:04 -07:00
2009-08-31 18:08:50 +02:00
2009-09-24 15:13:11 -07:00
2009-09-24 07:53:22 -07:00
2009-09-24 07:53:22 -07:00
2009-07-12 14:03:27 -07:00
2009-09-15 10:17:30 +02:00
2009-09-23 09:46:15 -07:00
2009-09-21 15:14:55 +02:00
2009-09-23 18:13:10 -07:00
2009-06-15 21:30:23 -07:00
2009-09-24 07:21:04 -07:00
2009-06-18 13:03:55 -07:00
2009-08-10 14:43:09 +02:00
2009-10-14 15:11:35 -07:00