aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-12 14:52:22 +0800
committerDavid S. Miller <davem@davemloft.net>2015-01-13 14:01:00 -0500
commit7a868d1e9ab3c534c5ad44e3e5dc46753a1e5636 (patch)
tree9b490c8b37180ba0ce56ffd9ff521b43218fd8c5 /.gitignore
parentMerge branch 'tuntap_queues' (diff)
downloadlinux-dev-7a868d1e9ab3c534c5ad44e3e5dc46753a1e5636.tar.xz
linux-dev-7a868d1e9ab3c534c5ad44e3e5dc46753a1e5636.zip
rhashtable: involve rhashtable_lookup_compare_insert routine
Introduce a new function called rhashtable_lookup_compare_insert() which is very similar to rhashtable_lookup_insert(). But the former makes use of users' given compare function to look for an object, and then inserts it into hash table if found. As the entire process of search and insertion is under protection of per bucket lock, this can help users to avoid the involvement of extra lock. Signed-off-by: Ying Xue <ying.xue@windriver.com> Cc: Thomas Graf <tgraf@suug.ch> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions