RE: Fix race in the accessed/dirty bit handlers

From: Luck, Tony <>
Date: 2006-03-09 10:56:46
>> Have we just been lucky?
>Yes. The window is very small. The zapping must happen between the 
>generation of the accessed/dirty fault and the cmpxchg in the 
>dirty/accessed bit handlers. It seems also that most HPC machines do not 
>use swap making it highly unlikely to encounter this race. The other cases 
>where this could occur are probably even rarer.

Thinking about this further ... in most cases the swap path will also
conceal any evidence that this happened, because it will overwrite
the pte with the swap file number and offset of where it stashed
the page ... so "we've been lucky for all these years" theory is
looking quite credible.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Mar 09 10:56:51 2006

This archive was generated by hypermail 2.1.8 : 2006-03-09 10:57:29 EST