首页>
外国专利>
Atomically updating 64 bit fields in the 32 bit AIX kernel
Atomically updating 64 bit fields in the 32 bit AIX kernel
展开▼
机译:以原子方式更新32位AIX内核中的64位字段
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method, system, and computer instructions for atomically updating 64-bit fields in the 32-bit AIX kernel, wherein the underlying hardware's 64-bit capable instructions are used to construct an atomic primitive. If a data request applies to the 32-bit kernel on 64-bit hardware execution environment, a load and reserve instruction sets a reservation for a memory location. The original 64-bit data object is decomposed into two 32-bit halves. A Shift Right Double Word Immediate (SRDI) instruction captures the high-order bits of the 64-bit register. If the store conditional instruction determines that the reservation is not lost, the store conditional instruction stores the result. If the store conditional instruction fails, the process returns to the reserve instruction until the store conditional operation returns a success.
展开▼