commit | 384cc2f9688994dfd505011ba3b08e0a702030b0 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Tue Nov 20 12:16:47 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 28 18:36:05 2012 +1000 |
tree | 9d7f8d1f3a68d88442d35cd13a67563571147f29 | |
parent | 7e8d9da32ea02f02a23f998cd2013408a4fe49bb [diff] |
drm: Add a hash-tab rcu-safe API While hashtab should now be RCU-safe, Add a drm_ht_xxx_api for consumers to use to make it obvious what locking mechanism is used. Document the way the rcu-safe interface should be used. Don't use rcu-safe list traversal in modify operations where we should use a spinlock / mutex anyway. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>