diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-07-28 03:16:00 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:15 (GMT) |
commit | ed286d4298597128252df0bc6b97bdc121f9084f (patch) | |
tree | 5e83163f296e1bf313d51d0cb06a56b918ef958c /kernel/padata.c | |
parent | 8834dd7564db27f47627bab23aaeb989a578c474 (diff) | |
download | linux-fsl-qoriq-ed286d4298597128252df0bc6b97bdc121f9084f.tar.xz |
hotplug: Reread hotplug_pcp on pin_current_cpu() retry
When retry happens, it's likely that the task has been migrated to
another cpu (except unplug failed), but it still derefernces the
original hotplug_pcp per cpu data.
Update the pointer to hotplug_pcp in the retry path, so it points to
the current cpu.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110728031600.GA338@windriver.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions