drm/ttm: Optimize vm locking using kref_get_unless_zero v3
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 21 Nov 2012 14:53:21 +0000 (14:53 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Nov 2012 08:37:59 +0000 (18:37 +1000)
Removes the need for a write lock each time we call ttm_bo_unref().

v2: Remove an unused variable.
v3: Really remove the unused variable.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found