]> git.neil.brown.name Git - history.git/commit
[PATCH] Add SMP barrier to ipc's grow_ary()
authorAndrew Morton <akpm@digeo.com>
Fri, 22 Nov 2002 03:30:41 +0000 (19:30 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 22 Nov 2002 03:30:41 +0000 (19:30 -0800)
commit5e1341d1abd78f635924408496162caf98cf7620
tree5b5853d1f1df42a2a324a6c81746b62e8c357b8a
parentca22d5ddb036962bbf5fd8b2044b5f64d44e60b5
[PATCH] Add SMP barrier to ipc's grow_ary()

From Dipanker Sarma.

Before setting the ids->entries to the new array, there must be a wmb()
to make sure that the memcpyed contents of the new array are visible
before the new array becomes visible.
ipc/util.c