RE: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-24 Thread KY Srinivasan
...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang Subject: Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt On Fri, Jul 15, 2011 at 10:47:14AM -0700, K. Y. Srinivasan wrote: Now that we have a spin lock

Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-24 Thread Greg KH
On Wed, Aug 24, 2011 at 04:25:18PM +, KY Srinivasan wrote: On Fri, Jul 15, 2011 at 10:47:14AM -0700, K. Y. Srinivasan wrote: Now that we have a spin lock protecting access to the stor device pointer, use it manage the reference count as well. Signed-off-by: K. Y.

RE: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-24 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Wednesday, August 24, 2011 4:17 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang Subject: Re: [PATCH 086/117] Staging: hv

Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-24 Thread Greg KH
On Wed, Aug 24, 2011 at 10:57:18PM +, KY Srinivasan wrote: Like other bus specific devices in the kernel (pci devices, virtio devices,), class specific vmbus devices - struct storvsc_device and struct netvsc_device embed a pointer to the underlying struct hv_device. And

Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-23 Thread Greg KH
On Fri, Jul 15, 2011 at 10:47:14AM -0700, K. Y. Srinivasan wrote: Now that we have a spin lock protecting access to the stor device pointer, use it manage the reference count as well. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com ---

RE: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-23 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, August 23, 2011 7:10 PM To: KY Srinivasan Cc: gre...@suse.de; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; Haiyang Zhang Subject: Re: [PATCH 086/117] Staging: hv

Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt

2011-08-23 Thread Greg KH
...@lists.osdl.org; Haiyang Zhang Subject: Re: [PATCH 086/117] Staging: hv: storvsc: Leverage the spinlock to manage ref_cnt On Fri, Jul 15, 2011 at 10:47:14AM -0700, K. Y. Srinivasan wrote: Now that we have a spin lock protecting access to the stor device pointer, use it manage