diff options
author | Mitko Haralanov <mitko.haralanov@intel.com> | 2016-03-08 11:14:48 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-21 15:55:22 -0400 |
commit | 909e2cd004b639276678c195760efeea6c173626 (patch) | |
tree | 0b01ddca0e0eec9972888160608e01a6d7da8f51 /net/lapb/lapb_timer.c | |
parent | 368f2b59d024fbb58015dfd0e09c54c424cda979 (diff) | |
download | linux-909e2cd004b639276678c195760efeea6c173626.tar.gz linux-909e2cd004b639276678c195760efeea6c173626.tar.bz2 linux-909e2cd004b639276678c195760efeea6c173626.zip |
IB/hfi1: Notify remove MMU/RB callback of calling context
Tell the remove MMU/RB callback if it's being called as
part of a memory invalidation or not. This can be important
in preventing a deadlock if the remove callback attempts to
take the map_sem semaphore because the kernel's MMU
invalidation functions have already taken it.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions