RE: Fix race in the accessed/dirty bit handlers

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-03-11 04:22:37
Zoltan Menyhart wrote on Friday, March 10, 2006 1:47 AM
> > CPU A        CPU B       | CPU A       CPU B     | cpu A    cpu B
> > -----        -----       | -----       -----     | -----    -----
> >              change pte  |                       |
> >                          |                       |
> > read pte                 |read pte               |read pte
> > insert TLB               |           change pte  |insert
> > re-read                  |insert                 |re-read
> >                          |re-read                |          change pte
> >                          |ptc.l
> 
> These scenarii assume that the sequence:
> 
> 	insert TLB
> 	;;
> 	re-read
> 
> is executed in the same order for everyone as it is coded.

Just for the record, itc has acquire semantics, though this is not
immediately relevant in this discussion with respect to external
ptc.g.

- 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:24:23 2006

This archive was generated by hypermail 2.1.8 : 2006-03-11 04:24:31 EST