The patch titled Subject: smp: Fix use un-initialized cpumask_ipi has been added to the -mm tree. Its filename is smp-fix-use-un-initialized-cpumask_ipi.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wang YanQing <udknight@xxxxxxxxx> Subject: smp: Fix use un-initialized cpumask_ipi c7b798525b502 ("smp: Fix SMP function call empty cpu mask race") use the un-initialized variable cpumask_ipi when enable CONFIG_CPUMASK_OFFSTACK. Signed-off-by: Wang YanQing <udknight@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/smp.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN kernel/smp.c~smp-fix-use-un-initialized-cpumask_ipi kernel/smp.c --- a/kernel/smp.c~smp-fix-use-un-initialized-cpumask_ipi +++ a/kernel/smp.c @@ -57,6 +57,9 @@ hotplug_cfd(struct notifier_block *nfb, if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, cpu_to_node(cpu))) return notifier_from_errno(-ENOMEM); + if (!zalloc_cpumask_var_node(&cfd->cpumask_ipi, GFP_KERNEL, + cpu_to_node(cpu))) + return notifier_from_errno(-ENOMEM); break; #ifdef CONFIG_HOTPLUG_CPU @@ -66,6 +69,7 @@ hotplug_cfd(struct notifier_block *nfb, case CPU_DEAD: case CPU_DEAD_FROZEN: free_cpumask_var(cfd->cpumask); + free_cpumask_var(cfd->cpumask_ipi); break; #endif }; _ Patches currently in -mm which might be from udknight@xxxxxxxxx are linux-next.patch smp-fix-use-un-initialized-cpumask_ipi.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html