From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757579Ab1JEBQX (ORCPT ); Tue, 4 Oct 2011 21:16:23 -0400 Received: from ozlabs.org ([203.10.76.45]:48797 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757486Ab1JEBQW (ORCPT ); Tue, 4 Oct 2011 21:16:22 -0400 From: Rusty Russell To: Jeremy Fitzhardinge , Steven Rostedt Cc: "David S. Miller" , David Daney , Michael Ellerman , Jan Glauber , Jason Baron , the arch/x86 maintainers , Xen Devel , Linux Kernel Mailing List , Jeremy Fitzhardinge , Peter Zijlstra , Andrew Morton , "H. Peter Anvin" , Ingo Molnar Subject: Re: [PATCH RFC V3 2/8] stop_machine: make stop_machine safe and efficient to call early In-Reply-To: <619c66d6da63aa086e2eac017e7aed216cc8ddc3.1317755691.git.jeremy.fitzhardinge@citrix.com> References: <619c66d6da63aa086e2eac017e7aed216cc8ddc3.1317755691.git.jeremy.fitzhardinge@citrix.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i686-pc-linux-gnu) Date: Wed, 05 Oct 2011 11:45:25 +1030 Message-ID: <8762k4grwy.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Oct 2011 12:18:03 -0700, Jeremy Fitzhardinge wrote: > From: Jeremy Fitzhardinge > > Make stop_machine() safe to call early in boot, before stop_machine() > has been set up, by simply calling the callback function directly if > there's only one CPU online. Not that you need this, since it's >90% Tejun's code now, but: Acked-by: Rusty Russell Cheers, Rusty.