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, wherein the memory page corresponds to a first page table entry included in a first page table associated with the first processing unit, and the first page table entry includes an atomic permission bit; determining that the atomic permission bit in the first page table entry is inactive; removing all page table entries that are associated with the memory page from a second page table associated with a second processing unit; activating the atomic permission bit; and while the atomic permission bit is active, performing the atomic operation on the memory page while denying memory write and atomic accesses to the second processing unit.