Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1768304Ab2KOPd5 (ORCPT ); Thu, 15 Nov 2012 10:33:57 -0500 Received: from mail-vb0-f46.google.com ([209.85.212.46]:36088 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767939Ab2KOPdp (ORCPT ); Thu, 15 Nov 2012 10:33:45 -0500 MIME-Version: 1.0 In-Reply-To: References: <1352925457-15700-1-git-send-email-fweisbec@gmail.com> <1352925457-15700-8-git-send-email-fweisbec@gmail.com> <1352953617.18025.94.camel@gandalf.local.home> Date: Thu, 15 Nov 2012 16:33:44 +0100 Message-ID: Subject: Re: [PATCH 7/7] printk: Wake up klogd using irq_work From: Frederic Weisbecker To: Steven Rostedt Cc: Ingo Molnar , LKML , Peter Zijlstra , Thomas Gleixner , Andrew Morton , Paul Gortmaker Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 34 2012/11/15 Frederic Weisbecker : > -----> > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/