From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935028AbcKJQdq (ORCPT ); Thu, 10 Nov 2016 11:33:46 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:33748 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934104AbcKJQdp (ORCPT ); Thu, 10 Nov 2016 11:33:45 -0500 Date: Thu, 10 Nov 2016 17:31:10 +0100 (CET) From: Thomas Gleixner To: Al Viro cc: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, rt@linutronix.de, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 01/25] fs/buffer: Convert to hotplug state machine In-Reply-To: <20161110162444.GJ19539@ZenIV.linux.org.uk> Message-ID: References: <20161103145021.28528-1-bigeasy@linutronix.de> <20161103145021.28528-2-bigeasy@linutronix.de> <20161110162444.GJ19539@ZenIV.linux.org.uk> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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 Thu, 10 Nov 2016, Al Viro wrote: > On Thu, Nov 03, 2016 at 03:49:57PM +0100, Sebastian Andrzej Siewior wrote: > > Install the callbacks via the state machine. > > > diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h > > index afe641c02dca..69b74fa0da60 100644 > > --- a/include/linux/cpuhotplug.h > > +++ b/include/linux/cpuhotplug.h > > @@ -30,6 +30,7 @@ enum cpuhp_state { > > CPUHP_ACPI_CPUDRV_DEAD, > > CPUHP_S390_PFAULT_DEAD, > > CPUHP_BLK_MQ_DEAD, > > + CPUHP_FS_BUFF_DEAD, > > CPUHP_WORKQUEUE_PREP, > > CPUHP_POWER_NUMA_PREPARE, > > CPUHP_HRTIMERS_PREPARE, > > *ouch* > > So we are getting a large list of things from unrelated subsystems, maintained > in a single place, all next to each other. All examples of that sort of > thing I can recall had ended up biting our arses... I rather have my arse bitten by a few merge conflicts than constantly chasing why odering by chance, link order or magic constants in random files make things explode or not work. Thanks, tglx