Re: [PATCH] xen: Use wmb instead of rmb in xen_evtchn_do_upcall().

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Isaku Yamahata
Date: Tuesday, June 10, 2008 - 1:01 am

On Tue, Jun 10, 2008 at 05:41:39PM +1000, Nick Piggin wrote:

Thank you for your comment.
Non smp_ version is intentionally used.
Because here the synchronization is done between other guest kernel
which might be running on another physical cpu. So non smp version is
really necessary even if this kernel is build for UP.



To be honest, I don't know whether the overhead of mb here matters
on x86 or not. I'm wondering Jeremy might have an idea.



-- 
yamahata
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] xen: Use wmb instead of rmb in xen_evtchn_do_u ..., Jeremy Fitzhardinge, (Tue Jun 10, 12:57 am)
Re: [PATCH] xen: Use wmb instead of rmb in xen_evtchn_do_u ..., Isaku Yamahata, (Tue Jun 10, 1:01 am)
Re: [PATCH] xen: Use wmb instead of rmb in xen_evtchn_do_u ..., Jeremy Fitzhardinge, (Tue Jun 10, 11:54 pm)