1. A computer-implemented method for performing an atomic operation on a memory page shared by at least two processing units, the method comprising: receiving a request from a first processing unit to perform an atomic operation on the memory page; determining that an atomic permission bit in a first page table entry included in a first page table associated with the first processing unit is inactive; activating the atomic permission bit; and performing the atomic operation on the memory page while denying memory write and atomic accesses to the memory page by any processing unit except the first processing unit.