Message ID | 55E9CAFB.9070002@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Grygorii Strashko | 2015-09-04 19:46:51 [+0300]: >Hi All, Hi, >I'd very appreciated for comments. did you run into any problems with this or is it working for you? Sebastian
On 12/11/2015 06:20 PM, Sebastian Andrzej Siewior wrote: > * Grygorii Strashko | 2015-09-04 19:46:51 [+0300]: > >> Hi All, > Hi, > >> I'd very appreciated for comments. > > did you run into any problems with this or is it working for you? > No. And corresponding patch was merged in v4.1.7-rt8 9754cf6 ARM: smp: Move clear_tasks_mm_cpumask() call to __cpu_die()
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 3d6b782..20b5741 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -215,8 +215,6 @@ int __cpu_disable(void) flush_cache_louis(); local_flush_tlb_all(); - clear_tasks_mm_cpumask(cpu); - return 0; } @@ -232,6 +230,8 @@ void __cpu_die(unsigned int cpu) pr_err("CPU%u: cpu didn't die\n", cpu); return; } + clear_tasks_mm_cpumask(cpu); + pr_notice("CPU%u: shutdown\n", cpu); /*