Files
linux-kernel-test/arch/x86/include/asm
Rusty Russell 30e1e6d1af cpumask: fix CONFIG_CPUMASK_OFFSTACK=y cpu hotunplug crash
Impact: Fix cpu offline when CONFIG_MAXSMP=y

Changeset bc9b83dd1f "cpumask: convert
c1e_mask in arch/x86/kernel/process.c to cpumask_var_t" contained a
bug: c1e_mask is manipulated even if C1E isn't detected (and hence
not allocated).

This is simply fixed by checking for NULL (which gcc optimizes out
anyway of CONFIG_CPUMASK_OFFSTACK=n, since it knows ce1_mask can never
be NULL).

In addition, fix a leak where select_idle_routine re-allocates
(and re-clears) c1e_mask on every cpu init.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Mike Travis <travis@sgi.com>
LKML-Reference: <200903171450.34549.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-18 09:40:35 +01:00
..
2009-02-10 00:41:58 +01:00
2009-01-29 14:16:51 +01:00
2009-01-14 15:39:28 -08:00
2009-01-29 14:17:01 +01:00
2009-01-31 00:16:22 +05:30
2009-02-10 00:42:00 +01:00
2009-02-23 00:08:11 +01:00
2009-02-09 14:04:31 -08:00
2009-01-21 17:26:06 +09:00
2009-02-24 13:41:00 -08:00
2009-02-17 17:53:54 +01:00
2009-01-31 00:17:39 +05:30
2009-02-05 22:30:14 +01:00
2009-03-05 14:50:55 +01:00
2009-02-13 13:23:02 +01:00
2009-03-05 14:50:55 +01:00
2009-01-23 18:42:06 +01:00
2009-02-06 12:26:08 -08:00
2009-02-06 12:31:51 -08:00
2009-02-02 23:27:09 +05:30
2009-02-10 00:42:00 +01:00
2009-02-26 06:40:06 +01:00
2009-03-13 14:49:51 +10:30
2009-02-13 09:44:22 +01:00
2009-01-31 00:19:32 +05:30
2009-03-02 12:07:49 +01:00
2009-02-23 00:08:11 +01:00
2009-01-25 16:57:47 +01:00
2009-03-13 14:49:57 +10:30