Re: [PATCH 081/117] Staging: hv: vmbus: Introduce a lock to protect the ext field in hv_device

From
Greg KH <hidden>
Date
2011-08-23 23:29:05
Also in
lkml
Reply to
K. Y. Srinivasan, 2011-07-15
On Fri, Jul 15, 2011 at 10:47:09AM -0700, K. Y. Srinivasan wrote:
The current mechanism for handling references in broken.
Introduce a lock to protect the ext field in hv_device.
Why would that lock ever be needed?  How can things change to this
pointer in different ways like you are thinking it could?  Doesn't the
reference counting in the device itself handle this properly?

greg k-h
Thread (175 messages) 175 messages, 9 authors, last reply 2011-08-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help