Re: [PATCH 37/46] Staging: hv: vmbus: Check for events beforemessages

From: Greg KH
Date: Tue Aug 30 2011 - 13:44:20 EST


On Tue, Aug 30, 2011 at 05:06:39PM +0000, KY Srinivasan wrote:
> > On Sat, Aug 27, 2011 at 11:31:36AM -0700, K. Y. Srinivasan wrote:
> > > Conform to Windows specification by checking for events before messages.
> >
> > What specification?
> >
> > Care to provide a comment in the code that you are doing this in this
> > explicit order because of some rule that the hypervisor imposes on us?
>
> I am not sure if this is documented anywhere (publicly). In talking to Windows
> guys, they suggested this is the order in which it is done on Windows guests and suggested
> I should do the same. I will see if there is some public documentation that specifies this.

All you need to do is just document it in the code and I'll be happy.
We don't rely on external documentation for things to be changed, in
fact, there usually isn't any such thing :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/