You are correct. Many processors can not increment a memory location
directly. They have to read into a register, modify, then write it
back. At the bus level, even processors that do it all in one op-code
are really reading/modifying/writing. However, such processors are
not interrupted between these operations so they are atomic (for
that operation on that CPU only).
Cheers,
Dick Johnson
Penguin : Linux version 2.3.35 on an i686 machine (400.59 BogoMips).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/