From: Thomas Hellstrom Date: Tue, 20 Nov 2012 12:16:47 +0000 (+0000) Subject: drm: Add a hash-tab rcu-safe API X-Git-Tag: v3.8-rc1~82^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=384cc2f9688994dfd505011ba3b08e0a702030b0;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed