summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-07 06:41:54 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-09 04:47:11 +0100
commitdb30485408326a6f466a843b291b23535f63eda0 (patch)
tree42d8c8e2b515c03f6c054a27e6d8b9aa9c634284 /kernel
parentrhashtable: introduce rhashtable_wakeup_worker helper function (diff)
downloadlinux-db30485408326a6f466a843b291b23535f63eda0.tar.xz
linux-db30485408326a6f466a843b291b23535f63eda0.zip
rhashtable: involve rhashtable_lookup_insert routine
Involve a new function called rhashtable_lookup_insert() which makes lookup and insertion atomic under bucket lock protection, helping us avoid to introduce an extra lock when we search and insert an object into hash table. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions