git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cc383
)
drm/vblank: Use memory barriers optimized for atomic_t instead of generics.
author
Mario Kleiner
<mario.kleiner@tuebingen.mpg.de>
Mon, 21 Feb 2011 04:42:01 +0000
(
05:42
+0100)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 23 Feb 2011 00:08:46 +0000
(10:08 +1000)
Documentation/atomic_ops.txt tells us that there are memory
barriers optimized for atomic_inc and other atomic_t ops.
Use these instead of smp_wmb(), and also to make the required
memory barriers around vblank counter increments more explicit.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
No differences found