RE: Fix race in the accessed/dirty bit handlers

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-03-11 04:29:20
Zoltan Menyhart wrote on Friday, March 10, 2006 9:12 AM
> Please consider the second issue I mentioned about the "itc":
> Making sure that an external purge request will not be missed by our new
> translation. See also on page 3:127:
> 
> "The visibility of the itc instruction to generated purges (ptc.g, ptc.ga) must occur > before subsequent memory operations. From
a software perspective, this is similar to > acquire semantics. Serialization is still required to observe the side-effects of the >
translation being present."
> 
> How to tell if this "visibility of the itc instruction to generated purges"
> has already been established?
> 
> I think a ";;" is not enough, this is why I propose this sequence:
> 
>     itc.d    r25
>     ;;
>     srlz.d
>     ld8    r18 = [r17]

Thinking wild, I think we need a release semantics on the load.  But such
thing isn't available.

- Ken

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Mar 11 04:30:42 2006

This archive was generated by hypermail 2.1.8 : 2006-03-11 04:30:51 EST