Good point, I'd overlooked that. I guess that means using it in
ptep_set_wrprotect().
At present the x86 ptep_set_wrprotect() just uses clear_bit on the pte,
which is a locked cycle. Is that significantly cheaper than an xchg +
set? (Same number of locked operations...)
J
--