Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980Ab0LMUG3 (ORCPT ); Mon, 13 Dec 2010 15:06:29 -0500 Received: from smtp.microsoft.com ([131.107.115.215]:10329 "EHLO smtp.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754891Ab0LMUG2 convert rfc822-to-8bit (ORCPT ); Mon, 13 Dec 2010 15:06:28 -0500 From: Hank Janssen To: Greg KH CC: "gregkh@suse.de" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "virtualization@lists.osdl.org" , Haiyang Zhang Subject: RE: [PATCH 1/1] hv: Use only one receive buffer and kmalloc on initialize Thread-Topic: [PATCH 1/1] hv: Use only one receive buffer and kmalloc on initialize Thread-Index: AQHLmu0aQ+svDewugEOir2/SbGE0mJOfORkA//+JKnCAAIlWgP//gEag Date: Mon, 13 Dec 2010 20:06:20 +0000 Message-ID: <8AFC7968D54FB448A30D8F38F259C5622C0BC809@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <1292262350-29001-1-git-send-email-hjanssen@microsoft.com> <20101213183448.GA11745@kroah.com> <8AFC7968D54FB448A30D8F38F259C5622C0BB71F@TK5EX14MBXC116.redmond.corp.microsoft.com> <20101213194101.GA18431@kroah.com> In-Reply-To: <20101213194101.GA18431@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [157.54.123.12] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 26 > -----Original Message----- > From: Greg KH [mailto:greg@kroah.com] > Sent: Monday, December 13, 2010 11:41 AM > > The current versions of Hyper-V support interrupt handling on CPU0 only. > > I can make multiple buffers per channel, but because of Hyper-V > > implementation It does not really make a difference. > > Then put a big fat note in there saying this, and that it will have to change if > the hyperv channel ever changes. > > Hm, how will you handle things if the hyperv core changes and an old kernel > is running this code where things were "assumed" about the reentrancy > happening here? I will re-roll this patch to have a buffer per channel. It is a more elegant design Even though Hyper-V behavior is not changing in Win8 for this. Hank. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/