All of lore.kernel.org
 help / color / mirror / Atom feed
* evtchn_do_upcall() barrier between upcall_pending and pending_sel
@ 2008-05-08 10:18 Samuel Thibault
  2008-05-08 10:25 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Thibault @ 2008-05-08 10:18 UTC (permalink / raw)
  To: xen-devel

Hello,

In evtchn_do_upcall() there is a barrier between setting upcall_pending
and pending_sel, which makes sense to avoid losing events, however I
don't understand why it is a rmb(). memory-barriers.txt says that rmb()
only provides ordering of reads, not stores.  Shouldn't that be a wmb()
instead then?

Samuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-08 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 10:18 evtchn_do_upcall() barrier between upcall_pending and pending_sel Samuel Thibault
2008-05-08 10:25 ` Keir Fraser
2008-05-08 10:34   ` Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.