From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755414AbbFMADo (ORCPT ); Fri, 12 Jun 2015 20:03:44 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36762 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753806AbbFMADm (ORCPT ); Fri, 12 Jun 2015 20:03:42 -0400 Date: Fri, 12 Jun 2015 17:03:41 -0700 From: Greg KH To: "K. Y. Srinivasan" Cc: linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com Subject: Re: [PATCH V2 01/10] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable Message-ID: <20150613000341.GA2810@kroah.com> References: <1433460339-9346-1-git-send-email-kys@microsoft.com> <1433460376-9387-1-git-send-email-kys@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433460376-9387-1-git-send-email-kys@microsoft.com> User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 04, 2015 at 04:26:07PM -0700, K. Y. Srinivasan wrote: > From: Vitaly Kuznetsov > > Loaded Hyper-V module will use these functions to disable CPU > hotplug under certain circumstances. Convert cpu_hotplug_disabled > to a counter (protected by cpu_add_remove_lock) to support e.g. > disable -> disable -> enable call sequences. > > Signed-off-by: Vitaly Kuznetsov > Signed-off-by: K. Y. Srinivasan > --- > Documentation/power/suspend-and-cpuhotplug.txt | 6 +++--- > kernel/cpu.c | 13 ++++++++----- > 2 files changed, 11 insertions(+), 8 deletions(-) This changes the logic a bit, so I need an ack from the maintainers of the CPU hotplug code before I can accept this... thanks, greg k-h