#ifdef CONFIG_HOTPLUG_CPU /* * Called on the thread which is asking for a CPU to be shutdown, if the * CPU reported dead to the hotplug core.
*/ void arch_cpuhp_cleanup_dead_cpu(unsignedint cpu)
{ int ret = 0;
pr_notice("CPU%u: off\n", cpu);
clear_tasks_mm_cpumask(cpu); /* Verify from the firmware if the cpu is really stopped*/ if (cpu_ops->cpu_is_stopped)
ret = cpu_ops->cpu_is_stopped(cpu); if (ret)
pr_warn("CPU%u may not have stopped: %d\n", cpu, ret);
}
/* * Called from the idle thread for the CPU which has been shutdown.
*/ void __noreturn arch_cpu_idle_dead(void)
{
idle_task_exit();
cpuhp_ap_report_dead();
cpu_ops->cpu_stop(); /* It should never reach here */
BUG();
} #endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.