diff options
author | 2022-12-06 11:36:32 -1000 | |
---|---|---|
committer | 2022-12-09 10:42:56 +0000 | |
commit | e47877c7aa821c413b45e05f804819579bdfa1a3 (patch) | |
tree | 281f4a159cd9d5ddfa0c940636a72868e8c19cff /net/dsa/tag.c | |
parent | Merge branch 'net-sched-retpoline' (diff) | |
download | linux-rng-e47877c7aa821c413b45e05f804819579bdfa1a3.tar.xz linux-rng-e47877c7aa821c413b45e05f804819579bdfa1a3.zip |
rhashtable: Allow rhashtable to be used from irq-safe contexts
rhashtable currently only does bh-safe synchronization making it impossible
to use from irq-safe contexts. Switch it to use irq-safe synchronization to
remove the restriction.
v2: Update the lock functions to return the ulong flags value and unlock
functions to take the value directly instead of passing around the
pointer. Suggested by Linus.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: David Vernet <dvernet@meta.com>
Acked-by: Josh Don <joshdon@google.com>
Acked-by: Hao Luo <haoluo@google.com>
Acked-by: Barret Rhoden <brho@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag.c')
0 files changed, 0 insertions, 0 deletions