Re: [PATCH 2.6.13-rc1 07/10] IOCHK interface for I/O error handling/detecting

Hidetoshi Seto
2005-07-08T05:44:20Z

david mosberger wrote:
>> - could anyone write same barrier for intel compiler?
>> Tony or David, could you help me?
>
> I think it might be best to make ia64_mca_barrier() a proper
> subroutine written in assembly code. Yes, that costs some time, but
> we're talking about wasting 1,000+ cycles just to consume the value
> read via readX(), so the call-overhead is actually overlapped and
> completely trivial.

Yes, of course speed is worth, but in some situations it can happen
that the data integrity is better than the speed.
(sounds crazy but fact)

I'm not familiar with assembly code for intel compiler. So David,
could you write another macro of ia64_mca_barrier() or a proper
subroutine instead?

Thanks,
H.Seto