Re: [PATCH 7/7] printk: Wake up klogd using irq_work

From: Frederic Weisbecker
Date: Thu Nov 15 2012 - 10:33:44 EST


2012/11/15 Frederic Weisbecker <fweisbec@xxxxxxxxx>:
> ----->
> CPU that offilines CPU offlining
> -----------------
> ---------------------
> cpu_down() {
> __stop_machine(take_cpu_down)
>
> take_cpu_down() {
>
> __cpu_disable() {
>
> * disable irqs in hw
>
> * clear from online mask
> }
>
> move all tasks somewhere
> }
> while (!idle_cpu(offlining))
> cpu_relax()
>
> cpu_die();
> <---------

Oh thanks gmail for the mess. Sometimes it mangles contents, sometimes
not. Probably depend if the moon is odd or even.

Here is a pastebin: http://pastebin.com/aACvyu6p
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/