atomic_cmpset_64
if (atomic_cmpset_64(&ptpbase[ptpindex],
if (atomic_cmpset_64(&ptpbase[ptpindex], pte, pte | PG_M) == 0)