From: Peter Zijlstra Date: Fri, 22 Jul 2011 11:41:54 +0000 (+0200) Subject: perf, x86: Avoid kfree() in CPU_STARTING X-Git-Tag: v3.2-rc1~163^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fdba1ca10462f42ad2246b918fe6368f5ce488e;p=pandora-kernel.git perf, x86: Avoid kfree() in CPU_STARTING On -rt kfree() can schedule, but CPU_STARTING is before the CPU is fully up and running. These are contradictory, so avoid it. Instead push the kfree() to CPU_ONLINE where we're free to schedule. Reported-by: Thomas Gleixner Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-kwd4j6ayld5thrscvaxgjquv@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed