aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2022-12-06 11:36:32 -1000
committerDavid S. Miller <[email protected]>2022-12-09 10:42:56 +0000
commite47877c7aa821c413b45e05f804819579bdfa1a3 (patch)
tree281f4a159cd9d5ddfa0c940636a72868e8c19cff /lib/mpi/mpiutil.c
parentb602d00384bdfb8874cc4dcb298fc87cc369630b (diff)
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 <[email protected]> Reviewed-by: David Vernet <[email protected]> Acked-by: Josh Don <[email protected]> Acked-by: Hao Luo <[email protected]> Acked-by: Barret Rhoden <[email protected]> Cc: Linus Torvalds <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions