From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable Date: Thu, 28 Apr 2016 08:15:22 +0200 (CEST) Message-ID: References: <1461214567-3356-1-git-send-email-lianwei.wang@gmail.com> <20160421105042.GI3408@twins.programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.linutronix.de ([62.245.132.108]:55908 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbcD1GRF (ORCPT ); Thu, 28 Apr 2016 02:17:05 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Lianwei Wang Cc: Peter Zijlstra , oleg@redhat.com, Ingo Molnar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org On Wed, 27 Apr 2016, Lianwei Wang wrote: > Yes. In our project, there is a kernel driver which register a pm > notifier. On some conditions this pm notifier will return an error and > abort the suspend process. The counter will be unbalanced in case it > happened. So what? You wreckaged your driver, so you fix it and be done with it.