Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756239Ab2J3Xy4 (ORCPT ); Tue, 30 Oct 2012 19:54:56 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:40286 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755548Ab2J3Xyy (ORCPT ); Tue, 30 Oct 2012 19:54:54 -0400 MIME-Version: 1.0 In-Reply-To: <1351623668.4004.28.camel@gandalf.local.home> References: <20121029202711.062749374@goodmis.org> <20121029203848.109112386@goodmis.org> <1351623668.4004.28.camel@gandalf.local.home> Date: Wed, 31 Oct 2012 00:54:53 +0100 Message-ID: Subject: Re: [PATCH 10/32] nohz/cpuset: Restart the tick if printk needs it From: Frederic Weisbecker To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Clark Williams , Ingo Molnar , "Paul E. McKenney" , Mike Galbraith , Alessio Igor Bogani , Avi Kivity , Chris Metcalf , Christoph Lameter , Daniel Lezcano , Geoff Levand , Gilad Ben Yossef , Hakan Akkan , Kevin Hilman , Stephen Hemminger , Sven-Thorsten Dietrich 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: 702 Lines: 16 2012/10/30 Steven Rostedt : > Probably need to at least disable preemption. I don't see any > requirement that wake_up_klogd() needs to be called with preemption > disabled. > > The this_cpu_or() doesn't care which CPU it triggers, but the enabling > of nohz does. This patch is deemed to be replaced with the printk in nohz patchset I'm working on. But it indeed to disable preemption as well and its irq work should be made per cpu. -- 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/