Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754388AbYGJAas (ORCPT ); Wed, 9 Jul 2008 20:30:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752743AbYGJAak (ORCPT ); Wed, 9 Jul 2008 20:30:40 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:13282 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbYGJAaj (ORCPT ); Wed, 9 Jul 2008 20:30:39 -0400 X-IronPort-AV: E=McAfee;i="5200,2160,5335"; a="4584774" Message-ID: <4875582D.4040901@qualcomm.com> Date: Wed, 09 Jul 2008 17:30:37 -0700 From: Max Krasnyansky User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Rusty Russell CC: linux-kernel@vger.kernel.org, Jason Baron , Mathieu Desnoyers , Hidetoshi Seto Subject: Re: [PATCH 2/3] stop_machine: simplify References: <200807081750.55536.rusty@rustcorp.com.au> <200807081756.02838.rusty@rustcorp.com.au> <200807081756.47140.rusty@rustcorp.com.au> In-Reply-To: <200807081756.47140.rusty@rustcorp.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 21 Rusty Russell wrote: > stop_machine creates a kthread which creates kernel threads. We can > create those threads directly and simplify things a little. Some care > must be taken with CPU hotunplug, which has special needs, but that code > seems more robust than it was in the past. > > Signed-off-by: Rusty Russell Rusty, You mentioned (in private conversation) that you were going to add some logic that checks whether CPU is running user-space code and not holding any locks to avoid scheduling stop_machine thread on it. Was it supposed to be part of this patch ? Max -- 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/