commit | 82fe50bcc87e508e85250c87b745296a36a07897 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Wed Nov 21 14:53:21 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 28 18:37:59 2012 +1000 |
tree | 6fd205d9d0a92391e9bf5cf31a442a54992fe0b5 | |
parent | 5293908afa04b651cc8a7e85ba0938b71f97c2f8 [diff] |
drm/ttm: Optimize vm locking using kref_get_unless_zero v3 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>