Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

From: Thomas Gleixner
Date: Thu Apr 28 2016 - 02:17:10 EST


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.