Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754877AbYHKDdu (ORCPT ); Sun, 10 Aug 2008 23:33:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753835AbYHKDdl (ORCPT ); Sun, 10 Aug 2008 23:33:41 -0400 Received: from ozlabs.org ([203.10.76.45]:57448 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753832AbYHKDdl (ORCPT ); Sun, 10 Aug 2008 23:33:41 -0400 From: Rusty Russell To: Steven Rostedt Subject: Re: [PATCH 0/5] ftrace: to kill a daemon Date: Mon, 11 Aug 2008 12:41:22 +1000 User-Agent: KMail/1.9.9 Cc: Mathieu Desnoyers , linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , Linus Torvalds , David Miller , Roland McGrath , Ulrich Drepper , Jeremy Fitzhardinge , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams References: <20080807182013.984175558@goodmis.org> <20080808182104.GA11376@Krystal> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808111241.23686.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 21 On Saturday 09 August 2008 04:41:06 Steven Rostedt wrote: > On Fri, 8 Aug 2008, Mathieu Desnoyers wrote: > > kstop_machine does not guarantee that you won't have _any_ thread > > preempted with IP pointing exactly in the middle of your instructions > > _before_ the modification scheduled back in _after_ the modification and > > thus causing an illegal instruction. > > > > Still buggy. :/ > > Hmm, good point. Unless... You can walk the task list and fix them up, if you have to. Of course, this could be extremely slow with a million threads. Maybe just walking the runqueues would be sufficient? Rusty. -- 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/