[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [PATCH MINI-OS v2] xenbus: notify the other end when necessary
Wei Liu, le Mon 26 Oct 2015 12:47:56 +0000, a écrit : > - if (xenstore_buf->rsp_prod - xenstore_buf->rsp_cons < > sizeof(msg)) > + if (xenstore_buf->rsp_prod - xenstore_buf->rsp_cons < > sizeof(msg)) { > + notify_remote_via_evtchn(start_info.store_evtchn); > break; > + } > if (xenstore_buf->rsp_prod - xenstore_buf->rsp_cons < > - sizeof(msg) + msg.len) > + sizeof(msg) + msg.len) { > + notify_remote_via_evtchn(start_info.store_evtchn); Actually thinking... In principle we should not need these two notifications: we have already notified last time we consumed a message. Notifying again shouldn't be bringing anything new. Do you actually see a difference with these? Samuel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |