From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757946Ab3BGER3 (ORCPT ); Wed, 6 Feb 2013 23:17:29 -0500 Received: from ozlabs.org ([203.10.76.45]:57069 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756701Ab3BGERX (ORCPT ); Wed, 6 Feb 2013 23:17:23 -0500 From: Rusty Russell To: Thomas Gleixner , Linus Torvalds Cc: Andrew Morton , LKML , Ingo Molnar , Peter Zijlstra , Paul McKenney , "Srivatsa S. Bhat" , Arjan van de Veen , Paul Turner , Richard Weinberger , Magnus Damm Subject: Re: [patch 00/40] CPU hotplug rework - episode I In-Reply-To: References: <20130131120348.372374706@linutronix.de> <20130131122342.31b28664.akpm@linux-foundation.org> User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Thu, 07 Feb 2013 14:31:04 +1030 Message-ID: <87obfwixhb.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 Thomas Gleixner writes: > On Fri, 1 Feb 2013, Linus Torvalds wrote: >> So for me it's the "expose these states" that I get worried about.. A >> random driver should not necessarily even be able to *see* this, and >> decide to be clever and take advantage of the ordering. >> >> So I'd hope there would be some visibility restrictions. We currently >> have drivers already being confused by DOWN_PREPARE vs DOWN_FAILED etc >> etc random state transitions, and giving them even more flexibility to >> pick random states sounds like a really bad idea. I'd like to make >> sure that drivers and filesystems etc do not even *see* the states >> that are meant for the scheduler or workqueues, for example). Yeah, I assume Episode II is where we collapse each into sane states as Thomas clarified. That can be reviewed: I'd hate to try to do it in one go. Cheers, Rusty.