[Cbe-oss-dev] [PATCH 4/10] spidernet: zero out a pointer.

Segher Boessenkool segher at kernel.crashing.org
Wed May 23 10:29:52 EST 2007


>> If you're going to be paranoid, shouldn't you do something here to 
>> make
>> sure the value's hit the device?
>
> I thought the whole point of paranoia is that its inexplicable.
>
> Here's a delusional reply: I didn't see any point to it.
> 1) a wmb would add overhead

A wmb() doesn't guarantee the write has reached the device.

> 2) the hardware is supposed to be looking at the status flag,
>    anyway, and not misbehaving.

But you're paranoid, right?  Can't trust that device! :-)


Segher




More information about the cbe-oss-dev mailing list