From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752435AbbBLWZL (ORCPT ); Thu, 12 Feb 2015 17:25:11 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:60423 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbbBLWZI (ORCPT ); Thu, 12 Feb 2015 17:25:08 -0500 Date: Thu, 12 Feb 2015 14:25:06 -0800 From: Andrew Morton To: "Rafael J. Wysocki" Cc: KY Srinivasan , Vitaly Kuznetsov , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Haiyang Zhang , Yasuaki Ishimatsu , Tang Chen , Vlastimil Babka , David Rientjes , Fabian Frederick , Zhang Zhen , Vladimir Davydov , Wang Nan , "devel@linuxdriverproject.org" , "linux-mm@kvack.org" Subject: Re: [PATCH RESEND 0/3] memory_hotplug: hyperv: fix deadlock between memory adding and onlining Message-Id: <20150212142506.09b427a9128a3a3b1ded36a4@linux-foundation.org> In-Reply-To: <4323296.ObXCUgVR2I@vostro.rjw.lan> References: <1423736634-338-1-git-send-email-vkuznets@redhat.com> <5256328.ZVnrTeLrH1@vostro.rjw.lan> <4323296.ObXCUgVR2I@vostro.rjw.lan> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Feb 2015 23:43:17 +0100 "Rafael J. Wysocki" wrote: > On Thursday, February 12, 2015 10:10:30 PM KY Srinivasan wrote: > > [cut] yay! > > > > > > > > > > > > This issue was first discovered by Andy Whitcroft: > > > > > > https://lkml.org/lkml/2014/3/14/451 > > > > > > I had sent patches based on Andy's analysis that did not affect > > > > > > the users of the kernel hot-add memory APIs: > > > > > > https://lkml.org/lkml/2014/12/2/662 > > > > > > > > > > > > This patch puts the burden where it needs to be and can address > > > > > > the issue > > > > > for all clients. > > > > > > > > > > That seems to mean that this series is not needed. Is that correct? > > > > > > > > This patch was never committed upstream and so the issue still is there. > > > > > > Well, I'm not sure what to do now to be honest. > > > > > > Is this series regarded as the right way to address the problem that > > > everybody is comfortable with? Or is it still under discussion? > > > > We need to solve this problem and that is not under discussion. I also believe this problem > > needs to be solved in a way that addresses the problem where it belongs - not in the users of > > the hot_add API. Both my solution and the one proposed by David https://lkml.org/lkml/2015/2/12/57 > > address this issue. You can select either patch and check it in. I just want the issue addressed and I am not > > married to the solution I proposed. > > OK, thanks! > > So having looked at both your patch and the David's one I think that > the Andrew's tree is appropriate for any of them. > > Andrew? OK, I'll wake up and take a look. Hopefully as 3.21 material but I need to to back and reread everything. Is it more urgent than that?