wmb
Roman Kagan
rkagan at mail.ru
Wed Apr 6 10:18:30 EDT 2005
Hi Duncan,
In case I've missed your reply,
On Fri, Apr 01, 2005 at 09:13:10PM +0400, Roman Kagan wrote:
> On Fri, Apr 01, 2005 at 04:24:28PM +0200, Duncan Sands wrote:
> > Hi Roman, what is this wmb for?
> >
> > INIT_WORK(&instance->poll_work, (void *)cxacru_poll_status, instance);
> >
> > wmb();
> > usbatm_instance->driver_data = instance;
> >
>
> I thought this way I made sure that instance is fully initialized before
> it might be used.
do you think this argument actually justifies the wmb() here?
Cheers,
Roman.
More information about the Usbatm
mailing list