Messages in this thread | | | Date | Tue, 30 Nov 1999 19:17:04 -0500 (EST) | From | "Adam D. Bradley" <> | Subject | Re: Shared memory not SMP safe to user-mode code. |
| |
On Wed, 1 Dec 1999, Jamie Lokier wrote:
> It protects against signals handlers, interrupts and other processes. > But on SMP, "addl" is not atomic. You have to use "lock; addl" on SMP.
I seem to recall that you can use the "xaddl" for atomic addition without the "lock" prefix... only on 486 and later though...
Adam -- Adam D. Bradley -- artdodge@cs.bu.edu -- BU x8921 MCS211 --- <>< --- This message has been infected with a .signature virus. \ www.adbp.org Copy it into your .signature file or the turnip dies!!! \ 2Cor6:12-13
- 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/
| |